From 69a23b90278c2e4d997c15f6f95953325abec0d3 Mon Sep 17 00:00:00 2001 From: MicroFish91 Date: Mon, 13 Mar 2023 13:48:18 -0700 Subject: [PATCH] do not throw error --- src/utils/pythonUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/pythonUtils.ts b/src/utils/pythonUtils.ts index 03fc3bd96..590cb4255 100644 --- a/src/utils/pythonUtils.ts +++ b/src/utils/pythonUtils.ts @@ -38,7 +38,7 @@ export namespace pythonUtils { export async function hasDependencyInRequirements(dependency: string, filePath: string): Promise { if (!await AzExtFsExtra.pathExists(filePath)) { - throw new Error(localize('requirementsTextNotFound', `The "${requirementsFileName}" file could not be found.`)); + return false; } const contents: string = await AzExtFsExtra.readFile(filePath);