From 2c448bb3d37ce6f3603677ff75f6ed52322b102c Mon Sep 17 00:00:00 2001 From: Amber Date: Tue, 5 Nov 2024 14:00:14 -0500 Subject: [PATCH] fixing quality check for a 404 Signed-off-by: Amber --- packages/cli/src/zosfiles/ZosFilesBase.handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/zosfiles/ZosFilesBase.handler.ts b/packages/cli/src/zosfiles/ZosFilesBase.handler.ts index 2f4636ae0..729b85208 100644 --- a/packages/cli/src/zosfiles/ZosFilesBase.handler.ts +++ b/packages/cli/src/zosfiles/ZosFilesBase.handler.ts @@ -61,7 +61,7 @@ export abstract class ZosFilesBaseHandler implements ICommandHandler { }); } } catch (error) { - if (commandParameters.arguments.ignoreNotFound && error.errorCode === '404') { + if (commandParameters.arguments.ignoreNotFound && error.errorCode == '404') { commandParameters.response.data.setObj({ success: true }); } else { if (error instanceof ImperativeError){