Skip to content

Commit

Permalink
Update post.ts
Browse files Browse the repository at this point in the history
Co-authored-by: satackey <[email protected]>
  • Loading branch information
btkostner and satackey authored Aug 14, 2020
1 parent ae6e6fc commit d5e9713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { ImageDetector } from './src/ImageDetector'
import { assertType } from 'typescript-is'

const main = async () => {
if (core.getInput('skip-save') != null) {
if (JSON.parse(core.getInput('skip-save', { required: true }))) {
core.info('Skipping save.')
return
}
Expand Down

0 comments on commit d5e9713

Please sign in to comment.