liquidsoap-prettier 1.5.6 → 1.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/web.mjs +1 -1
- package/package.json +1 -1
- package/src/index.js +4 -2
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -325,7 +325,7 @@ const print = (path, options, print) => {
|
|
|
325
325
|
case "source":
|
|
326
326
|
return [node.base, print("value")];
|
|
327
327
|
default:
|
|
328
|
-
throw `
|
|
328
|
+
throw `Unknown node: ${JSON.stringify(node, null, 2)}`;
|
|
329
329
|
}
|
|
330
330
|
};
|
|
331
331
|
|
|
@@ -734,8 +734,10 @@ const print = (path, options, print) => {
|
|
|
734
734
|
line,
|
|
735
735
|
"end",
|
|
736
736
|
]);
|
|
737
|
+
case "null":
|
|
738
|
+
return "null";
|
|
737
739
|
default:
|
|
738
|
-
throw `
|
|
740
|
+
throw `Unknown node: ${JSON.stringify(node, null, 2)}`;
|
|
739
741
|
}
|
|
740
742
|
};
|
|
741
743
|
|