Skip to content

Commit

Permalink
Update client/src/components/Markdown/parse.ts
Browse files Browse the repository at this point in the history
Co-authored-by: David López <[email protected]>
  • Loading branch information
jmchilton and davelopez authored Apr 2, 2024
1 parent beeaa27 commit 1b2f8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Markdown/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export function getArgs(content: string): GalaxyDirectiveSection {
const arguments_str = function_arguments[i]?.toString().replace(/,/g, "").trim();
if (arguments_str) {
const [keyStr, valStr] = arguments_str.split("=");
if (keyStr == undefined || keyStr == undefined) {
if (keyStr == undefined || valStr == undefined) {
throw Error("Failed to parse galaxy directive");
}
const key = keyStr.trim();
Expand Down

0 comments on commit 1b2f8b8

Please sign in to comment.