Skip to content

Commit

Permalink
fix: fix default source if empty
Browse files Browse the repository at this point in the history
  • Loading branch information
easingthemes committed Jan 3, 2023
1 parent 006cf30 commit 9f191f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/inputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ inputNames.forEach((input) => {
// eslint-disable-next-line default-case
switch (inputName) {
case 'source':
extendedVal = validVal.indexOf(' ') > -1 ? validVal.split(' ') : validVal;
extendedVal = validVal.indexOf(' ') > -1 ? validVal.split(' ') : (validVal || './');
break;
case 'args':
extendedVal = validVal.split(' ');
Expand Down

0 comments on commit 9f191f4

Please sign in to comment.