From e30dc5d77c3558a142c9237e9406c28e9aef6107 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Thu, 19 May 2016 18:37:54 +0200 Subject: [PATCH] compile --- dist/index.js | 4 ++-- dist/npmts.promisechain.js | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/dist/index.js b/dist/index.js index 206631c..5aefc5c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2,10 +2,10 @@ /// console.log("**** starting NPMTS ****"); var plugins = require("./npmts.plugins"); -var promisechain = require("./npmts.promisechain"); +var npmts_promisechain_1 = require("./npmts.promisechain"); plugins.beautylog.figletSync("NPMTS"); try { - promisechain.run(); + npmts_promisechain_1.promisechain(); } catch (err) { console.log(err); diff --git a/dist/npmts.promisechain.js b/dist/npmts.promisechain.js index 9af9860..b9e7509 100644 --- a/dist/npmts.promisechain.js +++ b/dist/npmts.promisechain.js @@ -12,8 +12,7 @@ var NpmtsJsdoc = require("./npmts.jsdoc"); var NpmtsOptions = require("./npmts.options"); var NpmtsPublish = require("./npmts.publish"); var NpmtsTests = require("./npmts.tests"); -exports.run = function () { - var promisechain; +exports.promisechain = function () { NpmtsConfigFile.run() .then(NpmtsOptions.run) .then(NpmtsClean.run) @@ -47,5 +46,4 @@ exports.run = function () { plugins.beautylog.success("Done!"); } }); - return promisechain; };