Skip to content

Commit 9cd3c3f

Browse files
committed
final commit before pivot
1 parent 8dedc2d commit 9cd3c3f

File tree

4 files changed

+2688
-1
lines changed

4 files changed

+2688
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,6 @@ dist
105105

106106
# Stores VSCode versions used for testing VSCode extensions
107107
.vscode-test
108+
109+
# Local Netlify folder
110+
.netlify

index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,14 @@ function netlifyPlugin(conf) {
2121
.replace(cwd(), '')
2222
.replace(/^\//, '');
2323

24+
const chromePath = path.join(
25+
__dirname,
26+
'node_modules/lib/chromedriver/chromedriver_mac64.zip'
27+
);
28+
2429
await run.command(
2530
// `./node_modules/.bin/axe ${site} ${axeFlags} --save ${resultsPath}`
26-
`axe ${site} ${axeFlags} --save ${resultsPath}`
31+
`axe ${site} ${axeFlags} --chromedriver-path="${chromePath}" --save ${resultsPath}`
2732
);
2833

2934
let results = require(resultsPath);

0 commit comments

Comments
 (0)