File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16783,10 +16783,10 @@ async function main() {
1678316783 .filter((block) => block.value.id !== databaseId)
1678416784 .map((block) => block.value);
1678516785
16786- const README_PATH = __webpack_require__.ab + " README.md" ;
16786+ const README_PATH = './ README.md' ;
1678716787 core.info(`Reading from ${README_PATH}`);
1678816788
16789- const readmeLines = fs.readFileSync(__webpack_require__.ab + "README.md" , 'utf-8').split('\n');
16789+ const readmeLines = fs.readFileSync(README_PATH , 'utf-8').split('\n');
1679016790 console.log(readmeLines);
1679116791 // Find the index corresponding to <!--START_SECTION:notion_learn--> comment
1679216792 let startIdx = readmeLines.findIndex(
@@ -16817,7 +16817,7 @@ async function main() {
1681716817
1681816818 core.info(`Writing to ${README_PATH}`);
1681916819
16820- fs.writeFileSync(__webpack_require__.ab + "README.md" , finalLines.join('\n'));
16820+ fs.writeFileSync(README_PATH , finalLines.join('\n'));
1682116821
1682216822 try {
1682316823 await commitFile();
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ async function main() {
9999 . filter ( ( block ) => block . value . id !== databaseId )
100100 . map ( ( block ) => block . value ) ;
101101
102- const README_PATH = path . resolve ( __dirname , '.. /README.md') ;
102+ const README_PATH = '. /README.md';
103103 core . info ( `Reading from ${ README_PATH } ` ) ;
104104
105105 const readmeLines = fs . readFileSync ( README_PATH , 'utf-8' ) . split ( '\n' ) ;
You can’t perform that action at this time.
0 commit comments