修复 task 命令执行时参数引号丢失

This commit is contained in:
whyour committed 2022-10-15 18:29:34 +08:00
1 parent 444836975d
commit ed259e8168
2 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -420,7 +420,7 @@ export default class CronService {
);
cp.stderr.on('data', (data) => {
if (logFileExist) {
fs.appendFileSync(`${absolutePath}`, `${data}`);
fs.appendFileSync(`${absolutePath}`, `${data.toString()}`);
}
});
cp.on('error', (err) => {