Skip to content

Commit

Permalink
fixing quality check for a 404
Browse files Browse the repository at this point in the history
Signed-off-by: Amber <amber.torrise@broadcom.com>
  • Loading branch information
ATorrise committed Nov 5, 2024
1 parent b1c1fe1 commit 2c448bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/zosfiles/ZosFilesBase.handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 2c448bb

Please sign in to comment.