Skip to content

Commit 8882eab

Browse files
committed
more logging
1 parent d214546 commit 8882eab

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export async function loadBuiltInPlugins() {
6767
export async function loadCustomPlugins() {
6868
core.info('Loading custom plugins')
6969

70+
console.log('current working directory: ' + process.cwd())
7071
const pluginsPath = process.cwd() + '/.github/scanner-plugins/'
7172
await loadPluginsFromPath({
7273
readPath: pluginsPath,
@@ -80,7 +81,7 @@ export async function loadPluginsFromPath({readPath, importPath}: {readPath: str
8081
const res = fs.readdirSync(readPath)
8182
for (const pluginFolder of res) {
8283
const pluginFolderPath = path.join(importPath, pluginFolder)
83-
console.log('pluing folder path: ' + pluginFolderPath)
84+
console.log('plugin folder path: ' + pluginFolderPath)
8485
if (fs.existsSync(pluginFolderPath) && fs.lstatSync(pluginFolderPath).isDirectory()) {
8586
core.info(`Found plugin: ${pluginFolder}`)
8687
plugins.push(await dynamicImport(path.join(importPath, pluginFolder, '/index.js')))

0 commit comments

Comments
 (0)