We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b665111 commit 675d55fCopy full SHA for 675d55f
action.yml
@@ -17,7 +17,13 @@ runs:
17
shell: julia --color=yes {0}
18
run: |
19
import Pkg
20
- version = get(ENV, "jf-version", "1")
+
21
+ # Get the desired JuliaFormatter version number:
22
+ _version_original = get(ENV, "jf-version", "1")
23
24
+ # Strip leading and lagging whitespace.
25
+ # We need to then convert back to String, because Pkg won't accept SubString:
26
+ version = convert(String, strip(_version_original))::String
27
28
# Make sure to specify the UUID of the package:
29
p = Pkg.PackageSpec(
0 commit comments