Skip to content

Commit 58d7d26

Browse files
authored
Loosen requirements on the func host start task more (#4832)
1 parent a68cd7a commit 58d7d26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/funcCoreTools/funcHostTask.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const defaultFuncPort: string = '7071';
8383

8484
export function isFuncHostTask(task: vscode.Task): boolean {
8585
const commandLine: string | undefined = task.execution && (<vscode.ShellExecution>task.execution).commandLine;
86-
return /(?:^|[\\/])(func(?:\.exe)?)\s+host\s+start$/i.test(commandLine || '');
86+
return /(func(?:\.exe)?)\s+host\s+start/i.test(commandLine || '');
8787
}
8888

8989
export function registerFuncHostTaskEvents(): void {

0 commit comments

Comments
 (0)