Skip to content

Commit

Permalink
Fix env variable support
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoCreator committed Jun 6, 2022
1 parent acbb20e commit d96f800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uilicious-cli",
"version": "5.1.6",
"version": "5.1.7",
"description": "Uilicious CLI toolchain",
"main": "uilicious-cli.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/ArgumentValidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class ArgumentValidator {
if( argv.key && argv.key.length > 2 ) {
return;
} else if ( process.env.UILICIOUS_ACCESSKEY && process.env.UILICIOUS_ACCESSKEY.length > 2 ) {
arv.key = process.env.UILICIOUS_ACCESSKEY;
argv.key = process.env.UILICIOUS_ACCESSKEY;
return;
}

Expand Down

0 comments on commit d96f800

Please sign in to comment.