Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d758bee

Browse filesBrowse files
authored
Check that the version input is non-empty (#46)
1 parent 675d55f commit d758bee
Copy full SHA for d758bee

File tree

1 file changed

+5
-0
lines changed
Filter options

1 file changed

+5
-0
lines changed

‎action.yml

Copy file name to clipboardExpand all lines: action.yml
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ runs:
2525
# We need to then convert back to String, because Pkg won't accept SubString:
2626
version = convert(String, strip(_version_original))::String
2727
28+
if isempty(version)
29+
msg = "The version input cannot be empty"
30+
error(msg)
31+
end
32+
2833
# Make sure to specify the UUID of the package:
2934
p = Pkg.PackageSpec(
3035
name = "JuliaFormatter",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.