Comparing version 1.0.5 to 1.0.6
@@ -28,3 +28,3 @@ var child_process = require('child_process'); | ||
return new Promises(function (resolve, reject) { | ||
var args = ['-D', 'es.config='+configPath]; | ||
var args = ['-Des.config='+configPath]; | ||
@@ -38,8 +38,9 @@ // branch names aren't valid semver, just check the first number | ||
if (self.clusterNameOverride) { | ||
args.push('-D'); | ||
args.push('es.cluster.name='+self.clusterNameOverride); | ||
args.push('-Des.cluster.name='+self.clusterNameOverride); | ||
} | ||
// the path of the executable | ||
var path = join(self.path, 'bin', 'elasticsearch'); | ||
var isWindows = /^win/.test(process.platform); | ||
var file = 'elasticsearch' + (isWindows ? '.bat' : ''); | ||
var path = join(self.path, 'bin', file); | ||
@@ -46,0 +47,0 @@ // run the process |
{ | ||
"name": "libesvm", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "libesvm is a library for managning an Elasticsearch process for development and testing.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
1292
47981
38