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){