File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1+ // @ts -check
2+
13const DEFAULT_CHECK_PATHS = [ '/' ]
24const DEFAULT_FAIL_WITH_ISSUES = true
35const DEFAULT_IGNORE_DIRECTORIES = [ ]
Original file line number Diff line number Diff line change 1+ // @ts -check
2+
13const { getConfiguration } = require ( './config' )
24const pluginCore = require ( './pluginCore' )
35
@@ -17,7 +19,6 @@ module.exports = {
1719
1820 const { report, issueCount } = await pluginCore . runPa11y ( {
1921 build,
20- debugMode,
2122 htmlFilePaths,
2223 pa11yOpts,
2324 } )
Original file line number Diff line number Diff line change 1+ // @ts -check
2+
13const pa11y = require ( 'pa11y' )
24const { extname } = require ( 'path' )
35const { isDirectory, isFile } = require ( 'path-type' )
@@ -32,8 +34,6 @@ exports.generateFilePaths = async function ({
3234 fileAndDirPaths, // array, mix of html and directories
3335 ignoreDirectories,
3436 absolutePublishDir,
35- testMode,
36- debugMode,
3737} ) {
3838 const excludeDirGlobs = ignoreDirectories . map (
3939 // add ! and strip leading slash
You can’t perform that action at this time.
0 commit comments