fix: fix default source if empty

main
Dragan Filipovic 2023-01-03 21:55:45 +01:00
parent 006cf3021d
commit 9f191f4263
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(' ');