mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
a873a68cc7
commit
2db2f2d6cd
@@ -44,7 +44,7 @@ function checkRefSiblings(file, path, data) {
|
||||
// script, hence the starting point at 2.
|
||||
for (const file of process.argv.slice(2)) {
|
||||
try {
|
||||
const data = jsyaml.safeLoad(await fs.promises.readFile(file, "utf8"), {
|
||||
const data = jsyaml.load(await fs.promises.readFile(file, "utf8"), {
|
||||
filename: file,
|
||||
});
|
||||
if (data.openapi !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user