Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
Update tester.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi authored and joefitzgerald committed May 15, 2019
1 parent 549d7a0 commit ddf1ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/test/tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class Tester {

createCoverageFile() {
const additionalTestArgs = atom.config.get('go-plus.config.additionalTestArgs')
const res = additionalTestArgs.match(/-coverprofile=([A-Za-z0-9/\._-]+)/);
const res = additionalTestArgs.match(/-coverprofile=([^ ]+)/);

if (res != null) {
this.coverageFile = res[1]
Expand Down

0 comments on commit ddf1ca1

Please sign in to comment.