Skip to content

Commit

Permalink
fix(hmr-websocket): small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lbogdan committed Jan 10, 2020
1 parent d8eb35e commit bf6cbf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-test-utils/createTestProject.js
Expand Up @@ -17,7 +17,7 @@ module.exports = function createTestProject (name, preset, cwd, initGit = true)
return fs.existsSync(path.resolve(projectRoot, file))
}

if (has(projectRoot)) {
if (has(name)) {
console.warn(`An existing test project already exists for ${name}. May get unexpected test results due to project re-use`)
}

Expand Down

0 comments on commit bf6cbf2

Please sign in to comment.