Skip to content

Commit ef53f46

Browse files
committed
log custom plugins
1 parent 588a2cc commit ef53f46

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ export async function loadBuiltInPlugins() {
6767
export async function loadCustomPlugins() {
6868
core.info('Loading custom plugins')
6969
const pluginsPath = path.join(process.cwd(), '.github/scanner-plugins/')
70+
console.log('plugins path', pluginsPath);
71+
72+
const fileNames = fs.readdirSync(process.cwd())
73+
fileNames.forEach((fn: string) => {
74+
console.log('file in cwd:', fn)
75+
});
76+
7077

7178
// - currently, the plugin manager will abort loading
7279
// all plugins if there's an error

0 commit comments

Comments
 (0)