diff --git a/src/cli.coffee b/src/cli.coffee index e96c04e..da9cc94 100644 --- a/src/cli.coffee +++ b/src/cli.coffee @@ -8,7 +8,7 @@ try version = getInput "version" release = Release.find if not version or version is "latest" then "*" else version - throw Error "No release matching the version constraint." if not release + throw Error "No release matching the version constraint." unless release optionalTasks = getBooleanInput "optional-tasks" installed = if optionalTasks then "installed with optional tasks" else "installed"