From f8ed636b308d2dc17c356d756dc3f0e441de1faa Mon Sep 17 00:00:00 2001 From: undefined Date: Fri, 21 Mar 2025 09:49:29 +0800 Subject: [PATCH] workspace: prepare: use single quote --- build/prepare.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/prepare.js b/build/prepare.js index 11d165a51..51e3757ba 100644 --- a/build/prepare.js +++ b/build/prepare.js @@ -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"); } } }