Merge pull request #99 from easingthemes/bugfix/fix-empty-src

fix: fix default source if empty
main
Dragan Filipović 2023-01-03 21:56:33 +01:00 committed by GitHub
commit 7c21074882
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@ -30,7 +30,7 @@ inputNames.forEach((input) => {
// eslint-disable-next-line default-case // eslint-disable-next-line default-case
switch (inputName) { switch (inputName) {
case 'source': case 'source':
extendedVal = validVal.indexOf(' ') > -1 ? validVal.split(' ') : validVal; extendedVal = validVal.indexOf(' ') > -1 ? validVal.split(' ') : (validVal || './');
break; break;
case 'args': case 'args':
extendedVal = validVal.split(' '); extendedVal = validVal.split(' ');