pull/85/head
nightwing 2015-04-29 18:48:58 +00:00
rodzic c0596d9bda
commit 900de37233
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -312,7 +312,7 @@ define(function(require, exports, module) {
// Write the package.json file // Write the package.json file
var indent = data.match(/{\n\r?^ {4}"/) ? 4 : 2; var indent = data.match(/{\n\r?^ {4}"/) ? 4 : 2;
var newData = JSON.stringify(json, null, indent); var newData = JSON.stringify(json, null, indent);
fs.writeFile(cwd + "/.c9/.build/pacage.json", newData, function(){ fs.writeFile(cwd + "/.c9/.build/package.json", newData, function(){
if (dryRun) if (dryRun)
return next(); // if dry-run is passed only update path in .build return next(); // if dry-run is passed only update path in .build
fs.writeFile(packagePath, newData, function(err){ fs.writeFile(packagePath, newData, function(err){
@ -446,7 +446,7 @@ define(function(require, exports, module) {
extraCode.push({ extraCode.push({
type: "installer", type: "installer",
filename: json.installer, filename: json.installer,
data: version data: installerVersion
}); });
} }
@ -820,7 +820,7 @@ define(function(require, exports, module) {
force = false; force = false;
}); });
/***** Register and definfe API *****/ /***** Register and define API *****/
/** /**
* *