diff --git a/go.js b/go.js index 9e58f25..5af1f73 100644 --- a/go.js +++ b/go.js @@ -26,9 +26,10 @@ function get_readme_path(dir) { function get_readme_content() { - let content = fs.readFileSync('/home/runner/work/cfo/cfo/tokens.mdx', 'utf-8') + let content = fs.readFileSync(dirname + '/tokens.mdx', 'utf-8') const readmes = get_readme_path(__dirname) - console.log(__dirname) + // console.log(__dirname) + // /home/runner/work/cfo/cfo readmes.forEach(path => { content += '\n\n' + fs.readFileSync(path, 'utf-8')// + '\n\n' + content