删除console

This commit is contained in:
whyour 2022-04-03 19:50:44 +08:00
parent d687e79b6c
commit c769c598b8

View File

@ -412,9 +412,6 @@ export default class CronService {
const tmpStr = command.startsWith('/') ? command.substring(1) : command;
const index = tmpStr.indexOf('/') !== -1 ? tmpStr.indexOf('/') : 0;
if (index) {
console.log(
`${tmpStr.substring(0, index)}_${command.substring(start, end)}`,
);
return `${tmpStr.substring(0, index)}_${command.substring(start, end)}`;
} else {
return command.substring(start, end);