openfin-cli
Advanced tools
Comparing version 0.0.2 to 0.0.3
12
index.js
@@ -18,3 +18,3 @@ 'use strict'; | ||
writeToConfig(name, url, config, function () { | ||
writeToConfig(name, url, config, function() { | ||
if (launch) { | ||
@@ -37,3 +37,3 @@ launchOpenfin(config); | ||
//will launch download the rvm and launch openfin | ||
function launchOpenfin (config) { | ||
function launchOpenfin(config) { | ||
openfinLauncher.launchOpenFin({ | ||
@@ -49,3 +49,4 @@ configPath: path.resolve(config) | ||
var startup_app = {}, | ||
configAction; | ||
configAction, | ||
actionMessage; | ||
@@ -55,4 +56,6 @@ fs.exists(config, function(exists) { | ||
configAction = configBuilder.update; | ||
actionMessage = 'using config'; | ||
} else { | ||
configAction = configBuilder.create; | ||
actionMessage = 'successfully created config'; | ||
} | ||
@@ -73,3 +76,4 @@ if (config) { | ||
console.log(err); | ||
}).done(function (){ | ||
}).done(function() { | ||
console.log(actionMessage, path.resolve(config)); | ||
callback(); | ||
@@ -76,0 +80,0 @@ }); |
{ | ||
"name": "openfin-cli", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "OpenFin Runtime cli tool", | ||
@@ -5,0 +5,0 @@ "homepage": "http://www.openfin.co", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5017
88