Skip to content

Commit 82114f6

Browse files
committed
update path
1 parent 8882eab commit 82114f6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/actions/find/src/pluginManager.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ export function clearCache() {
5656
export async function loadBuiltInPlugins() {
5757
core.info('Loading built-in plugins')
5858

59-
const pluginsPath = '../../../scanner-plugins/'
59+
// - this is the path where actions appear when they're used in a workflow/repo
60+
const pluginsPath = '/home/runner/work/_actions/github/accessibility-scanner/scanner-plugins/'
6061
await loadPluginsFromPath({
61-
readPath: path.join(__dirname, pluginsPath),
62+
readPath: pluginsPath,
6263
importPath: pluginsPath,
6364
})
6465
}

0 commit comments

Comments
 (0)