Skip to content

Commit

Permalink
Merge pull request #1963 from zowe/fix-flagged-code
Browse files Browse the repository at this point in the history
Update flagged code since prefix should never be null
  • Loading branch information
traeok authored Nov 15, 2023
2 parents 2014fc3 + 709b358 commit 5549c8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default class OldJobsHandler extends ZosmfBaseHandler {
// Handle no jobs
if (jobs.length === 0) {
let notFoundMessage: string = "No jobs found";
if (prefix != null && prefix.length > 0) {
if (prefix.length > 0) {
notFoundMessage += ` with prefix ${prefix}`;
}
this.console.log(notFoundMessage);
Expand Down

0 comments on commit 5549c8e

Please sign in to comment.