Skip to content

Commit

Permalink
Use break if multiple env files found
Browse files Browse the repository at this point in the history
  • Loading branch information
Michał Chrząszcz committed Jun 6, 2024
1 parent e57f1b2 commit fea91cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ async function main() {
if (query) {
//using API key from file
apiKey = process.env[envName];
break;
}
}
}
Expand Down

0 comments on commit fea91cd

Please sign in to comment.