Skip to content

Commit

Permalink
Fix /dev/null to >/dev/null
Browse files Browse the repository at this point in the history
  • Loading branch information
d-ogxwx committed Oct 23, 2020
1 parent 30fad6a commit fef44a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scala-runner
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ if [[ -n "$print_scala_version" ]]; then
sv="$scala_version" ;;
*)
json_file="$(mktemp -t scala-runner.cs-fetch.XXXXXX.json)"
execRunner cs fetch -j "$json_file" "$app_name:$scala_version" "${coursier_args[@]}" /dev/null 2>&1
execRunner cs fetch -j "$json_file" "$app_name:$scala_version" "${coursier_args[@]}" >/dev/null 2>&1
sv=$(jq -r <"$json_file" '[.[]] | .[0] | [.[]] | .[0]' | cut -d: -f3)
;;
esac
Expand Down

0 comments on commit fef44a8

Please sign in to comment.