feat(KB-622): WIP - executor and test fixes for unified comments
This commit is contained in:
11
fix.cjs
Normal file
11
fix.cjs
Normal file
@@ -0,0 +1,11 @@
|
||||
const fs = require('fs');
|
||||
let content = fs.readFileSync('packages/engine/src/executor.test.ts', 'utf8');
|
||||
|
||||
// Fix the trailing comma issue by removing the comma after the template literal
|
||||
content = content.replace(
|
||||
/at '\$\{conflictingPath\}'',\n \);/g,
|
||||
"at '${conflictingPath}'" + "\n" + " );"
|
||||
);
|
||||
|
||||
fs.writeFileSync('packages/engine/src/executor.test.ts', content);
|
||||
console.log('Fixed');
|
||||
Reference in New Issue
Block a user