Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Adding v to the start of version
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiemoore committed Mar 16, 2017
1 parent e90abf3 commit e7a3a72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/codecov.js
Expand Up @@ -6,7 +6,7 @@ var execSync = require('child_process').execSync;

var detectProvider = require('./detect');

var version = require('../package.json').version;
var version = 'v' + require('../package.json').version;

var patterns = "-type f \\( -name '*coverage.*' " +
"-or -name 'nosetests.xml' " +
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Expand Up @@ -128,7 +128,7 @@ describe("Codecov", function(){

it('should have the correct version number', function() {
var version = require('../package.json').version
expect(codecov.version).to.eql(version)
expect(codecov.version).to.eql('v' + version)
})


Expand Down

0 comments on commit e7a3a72

Please sign in to comment.