mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: 支持修改tags & workspace: upgrade to js-yaml@4
This commit is contained in:
1 parent
87a4bc8bfa
commit
3d9acf2c1a
18 files changed
+38
-36
No files matched your search
@@ -346,7 +346,7 @@ async function fix(doc) {
|
||||
w.on('error', reject);
|
||||
r.pipe(w);
|
||||
});
|
||||
const config = yaml.safeLoad(await testdataConfig.readConfig(p));
|
||||
const config = yaml.load(await testdataConfig.readConfig(p));
|
||||
await dst.collection('document').updateOne(
|
||||
{ _id: doc._id },
|
||||
{ $set: { config } },
|
||||
|
||||
Reference in new issue
Block a user