We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10b13a8 commit 62bb173Copy full SHA for 62bb173
1 file changed
tests/content/lint-files.js
@@ -269,7 +269,7 @@ describe('lint markdown content', () => {
269
270
yamlScheduledWorkflows = []
271
visit(ast, 'code', node => {
272
- if (node.lang === 'yaml' && node.value.includes('schedule') && node.value.includes('cron')) {
+ if (/ya?ml/.test(node.lang) && node.value.includes('schedule') && node.value.includes('cron')) {
273
yamlScheduledWorkflows.push(node.value)
274
}
275
})
0 commit comments