Skip to content

Commit 8bfa5ae

Browse files
committed
Destructure pluginCore when importing
1 parent 5f1c004 commit 8bfa5ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @ts-check
22

33
const { getConfiguration } = require('./config')
4-
const pluginCore = require('./pluginCore')
4+
const { generateFilePaths, runPa11y } = require('./pluginCore')
55
const pico = require('picocolors')
66

77
module.exports = {
@@ -11,13 +11,13 @@ module.exports = {
1111
constants,
1212
inputs,
1313
})
14-
const htmlFilePaths = await pluginCore.generateFilePaths({
14+
const htmlFilePaths = await generateFilePaths({
1515
publishDir,
1616
ignoreDirectories,
1717
fileAndDirPaths: checkPaths,
1818
})
1919

20-
const { report, issueCount } = await pluginCore.runPa11y({
20+
const { report, issueCount } = await runPa11y({
2121
build,
2222
htmlFilePaths,
2323
wcagLevel,

0 commit comments

Comments
 (0)