Skip to content

Commit

Permalink
Merge 5a3b623 into 9c30e96
Browse files Browse the repository at this point in the history
  • Loading branch information
olalonde committed Jul 30, 2015
2 parents 9c30e96 + 5a3b623 commit af72ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var bitcore = module.exports;
// module information
bitcore.version = 'v' + require('./package.json').version;
bitcore.versionGuard = function(version) {
if (version !== undefined) {
if (version !== undefined && version !== bitcore.version) {
var message = 'More than one instance of bitcore found with versions: ' + bitcore.version +
' and ' + version + '. Please make sure to require bitcore and check that submodules do' +
' not also include their own bitcore dependency.';
Expand Down

0 comments on commit af72ca6

Please sign in to comment.