We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
instanceLimit
1 parent a865cf5 commit a92ae32Copy full SHA for a92ae32
src/vs/workbench/contrib/tasks/common/taskConfiguration.ts
@@ -714,7 +714,7 @@ export namespace RunOptions {
714
return {
715
reevaluateOnRerun: value ? value.reevaluateOnRerun : true,
716
runOn: value ? RunOnOptions.fromString(value.runOn) : Tasks.RunOnOptions.default,
717
- instanceLimit: value ? value.instanceLimit : 1,
+ instanceLimit: value?.instanceLimit ? Math.max(value.instanceLimit, 1) : 1,
718
instancePolicy: value ? InstancePolicy.fromString(value.instancePolicy) : Tasks.InstancePolicy.prompt
719
};
720
}
0 commit comments