Skip to content

Commit

Permalink
chore: remove extraneous log
Browse files Browse the repository at this point in the history
(cherry picked from commit 0a9e649)
  • Loading branch information
sodatea committed Oct 10, 2019
1 parent c8e45dc commit 9b06c25
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/@vue/cli-test-utils/serveWithPuppeteer.js
Expand Up @@ -24,15 +24,12 @@ module.exports = async function serveWithPuppeteer (serve, test, noPuppeteer) {
activeChild.stdin.write('close')
activeBrowser = null
}
console.log(log)
reject(err)
}

let isFirstMatch = true
let log = ''
child.stdout.on('data', async (data) => {
data = data.toString()
log += data
try {
const urlMatch = data.match(/http:\/\/[^/]+\//)
if (urlMatch && isFirstMatch) {
Expand Down

0 comments on commit 9b06c25

Please sign in to comment.