fix: remove redundant enable variable
This commit is contained in:
2
index.ts
2
index.ts
@@ -39,7 +39,7 @@ const pm2edit = new Command("pm2edit")
|
||||
}
|
||||
})
|
||||
|
||||
const fileContent = `const enabled = false;\n\nmodule.exports = {apps: ${JSON.stringify(data, null, 2)}}`
|
||||
const fileContent = `module.exports = {apps: ${JSON.stringify(data, null, 2)}}`
|
||||
|
||||
const formattedContent = await prettier.format(fileContent, { parser: "typescript" });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user