Skip to content

Commit

Permalink
feat(#93): make audit return Promise
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Dec 2, 2022
1 parent 893d6e7 commit eed5d10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/audit.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ const parserVersion = require('../parser-version');
/**
* Command to audit all packages.
* @param {Hash} opts - All options
* @return {Promise} of audit task
*/
module.exports = function(opts) {
parserVersion();
mvnw(['--version']);
return mvnw(['--version']);
};

0 comments on commit eed5d10

Please sign in to comment.