Apply prettier formatting to modified files

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-11-08 17:39:11 +00:00
parent 75d7ad4e02
commit 71073b8670
3 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ export enum CrontabStatus {
'disabled',
}
export interface CronInstance extends Model<Crontab, Crontab>, Crontab { }
export interface CronInstance extends Model<Crontab, Crontab>, Crontab {}
export const CrontabModel = sequelize.define<CronInstance>('Crontab', {
name: {
unique: 'compositeIndex',

View File

@ -481,7 +481,8 @@ export default class CronService {
const sanitizedLogName = log_name
? log_name.replace(/[\/\\\.]/g, '_').replace(/^_+|_+$/g, '')
: '';
const uniqPath = sanitizedLogName || (await getUniqPath(command, `${id}`));
const uniqPath =
sanitizedLogName || (await getUniqPath(command, `${id}`));
const logTime = dayjs().format('YYYY-MM-DD-HH-mm-ss-SSS');
const logDirPath = path.resolve(config.logPath, `${uniqPath}`);
if (log_path?.split('/')?.every((x) => x !== uniqPath)) {

View File

@ -334,4 +334,3 @@ const CronLabelModal = ({
};
export { CronLabelModal, CronModal as default };