fix: CronPreview step=0 무한루프 방지 #58
@ -89,6 +89,7 @@ function parseField(field: string, min: number, max: number): number[] | null {
|
||||
if (stepMatch) {
|
||||
const [, base, stepStr] = stepMatch;
|
||||
const step = parseInt(stepStr, 10);
|
||||
if (step <= 0) return range(min, max);
|
||||
let start = min;
|
||||
let end = max;
|
||||
|
||||
|
||||
불러오는 중...
Reference in New Issue
Block a user