Skip to content

Commit

Permalink
Output null instead of string 'false' when image is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
mendsley committed Oct 27, 2024
1 parent 13509af commit da010db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function run() {
}
}
finally {
core.setOutput('exists', foundImage);
core.setOutput('exists', foundImage ? 'true' : null);
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async function run(): Promise<void> {
core.setFailed(error)
}
} finally {
core.setOutput('exists', foundImage)
core.setOutput('exists', foundImage ? 'true' : null)
}
}

Expand Down

0 comments on commit da010db

Please sign in to comment.