workspace: prepare: use single quote

This commit is contained in:
undefined committed 2025-03-21 09:49:29 +08:00
1 parent 0e7f5fe635
commit f8ed636b30
1 file changed
+1 -1
+1 -1
View File
@@ -216,7 +216,7 @@ for (const pkg of modules) {
const name = file.split('.')[0];
const filePath = path.resolve(basedir, `${name}.js`);
if (name === 'index' && !fs.existsSync(filePath)) {
tryUpdate(filePath, 'module.exports = require("./src/index");\n');
tryUpdate(filePath, "module.exports = require('./src/index');\n");
}
}
}