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

Commit

Permalink
Parse the version number as int when checking in Utils
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbrook committed Aug 29, 2016
1 parent e9804fb commit fc05f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Path = Npm.require('path');
const htmlToText = Npm.require('html-to-text');

const isDevEnv = process.env.NODE_ENV === 'development';
const minorVersion = Meteor.release.split('.')[1];
const minorVersion = parseInt(Meteor.release.split('.')[1], 10);

const isModernMeteor = minorVersion >= 3;

Expand Down

0 comments on commit fc05f8e

Please sign in to comment.