Skip to content

Commit 0e35c53

Browse files
committed
fix: issue where allowedExpectationTypes became [''] by default, thus disallowing any jobs on any worker
1 parent 951c48e commit 0e35c53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared/packages/api/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ export function getProcessArgv(): string[] {
687687
* The string should be in the format alias1=executable1;alias2=executable2
688688
*/
689689
function parseArgStringList<T = never[]>(str: unknown, fallback: any = []): string[] | T {
690-
if (typeof str === 'string') {
690+
if (typeof str === 'string' && str !== '') {
691691
return str.split(';')
692692
}
693693

0 commit comments

Comments
 (0)