Skip to content

Commit

Permalink
Update rootfs_utils.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge authored Jul 15, 2021
1 parent 6e2546d commit 624b75c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .buildkite/rootfs_images/rootfs_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ end

function get_tag_name(args; usage)
tag_name = convert(String, strip(args[1]))::String
isempty(tag_name) && throw(ArgumentError(usage))
isempty(tag_name) && throw(ArgumentError(usage))
startswith(tag_name, "--") && throw(ArgumentError(usage))
return tag_name
end

Expand Down

0 comments on commit 624b75c

Please sign in to comment.