Skip to content

Commit 2168e85

Browse files
committed
updated dependencies
1 parent 3b484ab commit 2168e85

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/parser/definition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = function() {
2020
require('../utils/error.js')('The yaml format is not correct: '+argv.file);
2121
}
2222

23-
const definition = yaml.safeLoad(fs.readFileSync(argv.file, 'utf8'));
23+
const definition = yaml.load(fs.readFileSync(argv.file, 'utf8'));
2424
return definition;
2525
} catch (e) {
2626
require('../utils/error.js')('The yaml file does not exist or is not correct: ' + argv.file);

0 commit comments

Comments
 (0)