mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
workspace: prepare: use single quote
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user