Skip to content

Commit bff6a44

Browse files
author
Guillaume Chau
committed
fix(audit): hasProjectYarn
1 parent 33e9e0d commit bff6a44

File tree

1 file changed

+1
-1
lines changed
  • packages/@vue/cli-ui/ui-defaults/utils

1 file changed

+1
-1
lines changed

packages/@vue/cli-ui/ui-defaults/utils/audit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const severity = {
99

1010
exports.auditProject = async function (cwd) {
1111
try {
12-
if (hasProjectYarn) {
12+
if (hasProjectYarn(cwd)) {
1313
const child = await execa('yarn', [
1414
'audit',
1515
'--json',

0 commit comments

Comments
 (0)