fix: fix default source if empty
parent
006cf3021d
commit
9f191f4263
File diff suppressed because one or more lines are too long
|
@ -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(' ');
|
||||||
|
|
Loading…
Reference in New Issue