Skip to content

Commit

Permalink
fix(cli): use absolute paths for loading custom nodes and credentials
Browse files Browse the repository at this point in the history
broke after this change #4082
  • Loading branch information
netroy committed Sep 14, 2022
1 parent 461848f commit e398230
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/LoadNodesAndCredentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ class LoadNodesAndCredentialsClass {
async loadDataFromDirectory(setPackageName: string, directory: string): Promise<void> {
const files = await glob('**/*.@(node|credentials).js', {
cwd: directory,
absolute: true,
});

for (const filePath of files) {
Expand Down

0 comments on commit e398230

Please sign in to comment.