Skip to content

Commit 170e63e

Browse files
committed
test: don't check for taobao registry during tests
1 parent 5bf6051 commit 170e63e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli/lib/util/ProjectPackageManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class PackageManager {
130130

131131
if (args.registry) {
132132
this._registry = args.registry
133-
} else if (await shouldUseTaobao(this.bin)) {
133+
} else if (!process.env.VUE_CLI_TEST && await shouldUseTaobao(this.bin)) {
134134
this._registry = registries.taobao
135135
} else {
136136
try {

0 commit comments

Comments
 (0)