We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef53f46 commit 3472732Copy full SHA for 3472732
.github/actions/find/src/pluginManager.ts
@@ -69,6 +69,18 @@ export async function loadCustomPlugins() {
69
const pluginsPath = path.join(process.cwd(), '.github/scanner-plugins/')
70
console.log('plugins path', pluginsPath);
71
72
+ const cwd = process.cwd()
73
+ console.log('current working directory:', cwd)
74
+ const underRootPath = path.join(cwd,'..')
75
+ console.log('path under root:', underRootPath)
76
+ const underRoot = fs.readdirSync(underRootPath)
77
+ if (Array.isArray(underRoot)) {
78
+ underRoot.forEach(element => {
79
+ console.log('file under root:', element)
80
+ });
81
+ }
82
+
83
84
const fileNames = fs.readdirSync(process.cwd())
85
fileNames.forEach((fn: string) => {
86
console.log('file in cwd:', fn)
0 commit comments