Skip to content

Commit

Permalink
Changing fatalError.
Browse files Browse the repository at this point in the history
  • Loading branch information
LucianoPAlmeida committed Nov 5, 2018
1 parent 074ad07 commit aa5ea7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/variable-injector/Tool/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ let arguments = ArgumentsHandler(args: CommandLine.arguments)

let files = arguments.argumentValues(for: "file")
guard !files.isEmpty else {
fatalError("The path to at least one file where the variables will be injected should be passed. Use --file $path-to-file")
print("The path to at least one file where the variables will be injected should be passed. Use --file $path-to-file")
exit(1)
}

let varLiteralsToIgnore = arguments.argumentValues(for: "ignore")
Expand Down

0 comments on commit aa5ea7d

Please sign in to comment.