Browse Source

fix: git version check leftover

pull/166/head
NGPixel 7 years ago
committed by Nicolas Giard
parent
commit
b476bf5cc0
1 changed files with 0 additions and 1 deletions
  1. 1
      server/configure.js

1
server/configure.js

@ -100,7 +100,6 @@ module.exports = (port, spinner) => {
if (err || stdout.length < 3) {
reject(new Error('Git is not installed or not reachable from PATH.'))
}
stdout = 'git version 2.8.1'
let gitver = _.head(stdout.match(/[\d]+\.[\d]+(\.[\d]+)?/gi))
if (!gitver || !semver.satisfies(semver.clean(gitver), '>=2.7.4')) {
reject(new Error('Git version is too old. Minimum is v2.7.4.'))

Loading…
Cancel
Save