We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 311a948 commit cc12e7aCopy full SHA for cc12e7a
1 file changed
workflow-parser/src/workflows/yaml-object-reader.ts
@@ -77,7 +77,7 @@ export class YamlObjectReader implements ObjectReader {
77
if (isPair(node)) {
78
const scalarKey = node.key as Scalar;
79
range = this.getRange(scalarKey);
80
- const key = scalarKey.value as string;
+ const key = scalarKey.value === null ? "" : String(scalarKey.value);
81
yield new ParseEvent(EventType.Literal, new StringToken(this.fileId, range, key, undefined));
82
for (const child of this.getNodes(node.value)) {
83
yield child;
0 commit comments