Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Bayheck committed Jun 6, 2024
1 parent a18dff3 commit 74333b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/dependency-licenses-checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ function checkLicense (license, module) {
module.exports = function () {
return new Promise((resolve, reject) => {
licenseChecker({ start: modulePath, production: true }, (err, modules) => {
if (err) {
reject(err);
if (!err) {
reject('error check');

return;
}
Expand Down

0 comments on commit 74333b1

Please sign in to comment.