We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d82798f commit 5f37853Copy full SHA for 5f37853
buildFiles.js
@@ -20,7 +20,7 @@ function getBuildFiles(externalFiles, debugLog) {
20
});
21
}
22
23
- const directoryToSearchIn = __dirname
+ const directoryToSearchIn = process.cwd()
24
25
debugLog(`Recursively looking for build files in directory ${directoryToSearchIn}`)
26
@@ -34,6 +34,7 @@ function getBuildFiles(externalFiles, debugLog) {
34
35
36
const getAllBuildFiles = function (dirPath, arrayOfFiles) {
37
+ console.log('checking ' + dirPath)
38
const files = fs.readdirSync(dirPath)
39
40
arrayOfFiles = arrayOfFiles || []
0 commit comments