Skip to content

Commit 18147ec

Browse files
fix bug in YamlConversion.yaml
it doesn't pass the actual valua to `Lierals.wrapValue` lol
1 parent 30424a6 commit 18147ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index/types/yaml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export type YamlLiteral = string | number | boolean | null | Record<string, any>
1616
export namespace YamlConversion {
1717
/** Convert a literal into a yaml friendly representation. */
1818
export function yaml(value: Literal): YamlLiteral {
19-
const wrapped = Literals.wrapValue(literal);
19+
const wrapped = Literals.wrapValue(value);
2020
if (!wrapped) return null;
2121

2222
switch (wrapped.type) {

0 commit comments

Comments
 (0)