Skip to content

Commit

Permalink
updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Dani Jerez committed Oct 22, 2024
1 parent 3b484ab commit 2168e85
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/parser/definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = function() {
require('../utils/error.js')('The yaml format is not correct: '+argv.file);
}

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

0 comments on commit 2168e85

Please sign in to comment.