Skip to content

Commit

Permalink
Merge pull request #58 from GreatWizard/fix-non-interactive-mode
Browse files Browse the repository at this point in the history
Fixes `reliure-win.exe` 1.13.0+ crashing on start
  • Loading branch information
GreatWizard authored Jan 20, 2025
2 parents 6e5972d + 6319f58 commit fefbf45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/get-formats.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = (settings, options = {}) => {
return { formats: result }
}

if (!options['non-interactive']) {
if (options['non-interactive']) {
throw new Error('You should specify at least one format')
}

Expand Down

0 comments on commit fefbf45

Please sign in to comment.