Skip to content

Commit 78ea4c9

Browse files
committed
update path
1 parent 070ed73 commit 78ea4c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ export async function loadBuiltInPlugins() {
5858

5959
// - this is the path where actions appear when they're used in a workflow/repo
6060
console.log('__dirname: ' + __dirname)
61-
const pluginsPath = '../../../scanner-plugins/'
61+
const pluginsPath = path.join(__dirname, '../../../scanner-plugins/')
6262

63-
console.log('path.join(__dirname, "../../../scanner-plugins/"): ' + path.join(__dirname, pluginsPath))
63+
console.log('path.join(__dirname, "../../../scanner-plugins/"): ' + pluginsPath)
6464
await loadPluginsFromPath({
6565
readPath: pluginsPath,
6666
importPath: pluginsPath,

0 commit comments

Comments
 (0)