Skip to content

Commit db992f7

Browse files
committed
lint
1 parent 2af643e commit db992f7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/content/lint-files.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,8 @@ describe('lint markdown content', () => {
280280
const parsed = yaml.safeLoad(rendered)
281281
return parsed.on.schedule
282282
})))
283-
.flat()
284-
.map(schedule => schedule.cron)
283+
.flat()
284+
.map(schedule => schedule.cron)
285285
})
286286

287287
// We need to support some non-Early Access hidden docs in Site Policy
@@ -314,7 +314,7 @@ describe('lint markdown content', () => {
314314
const hour = schedule.split(' ')[0]
315315
// return any minute cron segments that equal 0, 00, 000, etc.
316316
return !/[^0]/.test(hour)
317-
})
317+
})
318318
expect(hourlySchedules).toEqual([])
319319
})
320320

0 commit comments

Comments
 (0)