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

Commit fc05f8e

Browse files
committed
Parse the version number as int when checking in Utils
1 parent e9804fb commit fc05f8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const Path = Npm.require('path');
55
const htmlToText = Npm.require('html-to-text');
66

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

1010
const isModernMeteor = minorVersion >= 3;
1111

0 commit comments

Comments
 (0)