From ebdb6e5848b93e01c89c782ddb749949ff16f019 Mon Sep 17 00:00:00 2001 From: nightwing Date: Fri, 17 Apr 2015 03:57:57 +0400 Subject: [PATCH] fix package name --- plugins/c9.cli.publish/publish.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/c9.cli.publish/publish.js b/plugins/c9.cli.publish/publish.js index f3f832fb..88e32290 100644 --- a/plugins/c9.cli.publish/publish.js +++ b/plugins/c9.cli.publish/publish.js @@ -584,11 +584,11 @@ define(function(require, exports, module) { plugin.version = "VERSION"; plugin.on("load", function load() { extraCode.forEach(function(x) { - debug.addStaticPlugin(x.type, "packageName", x.filename, x.data, plugin); + debug.addStaticPlugin(x.type, "PACKAGE_NAME", x.filename, x.data, plugin); }); }); - plugin.load("Cloud9 Bundle"); + plugin.load("PACKAGE_NAME.Bundle"); register(null, {}); } @@ -600,7 +600,7 @@ define(function(require, exports, module) { .replace(/\r/g, "") .replace(new RegExp("^ {" + indent + "}", "gm"), "") .replace(/^.*?{|}$/g, "") - .replace(/packageName/g, packageName) + .replace(/PACKAGE_NAME/g, packageName) .replace(/VERSION/g, json.version) .replace(/^(\s*)extraCode/gm, function(_, indent) { return JSON.stringify(extraCode, null, 4)