What is the proper way to reference hyphenated value in switch statement #404
Replies: 1 comment
-
This was user-error. Relaunching the workflow instead of re-running the jobs worked |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use the following in a github-script
Exp:
"Hyphenated var" prints at the console
Act:
This will return an error on the switch statement:
ReferenceError: hyphenated is not defined
Inspecting the log, it shows the following without any quotation marks, and the error message above:
switch(hyphenated-var)
Beta Was this translation helpful? Give feedback.
All reactions