From 120994820e3a0435046293ce8f1ff93ed30a67f8 Mon Sep 17 00:00:00 2001 From: Alex Buijs Date: Thu, 10 Dec 2015 17:34:27 +0100 Subject: [PATCH] Do include the chcp* files --- dist/deploy.js | 3 +++ src/deploy.js | 1 + 2 files changed, 4 insertions(+) diff --git a/dist/deploy.js b/dist/deploy.js index 4781112..22544dc 100644 --- a/dist/deploy.js +++ b/dist/deploy.js @@ -59,6 +59,9 @@ ignore = ignore.map(function (ignoredFile) { return '!' + ignoredFile; }); + ignore = ignore.filter(function (ignoredFile) { + return !ignoredFile.match(/^chcp/); + }); // console.log('Credentials: ', credentials); // console.log('Config: ', config); diff --git a/src/deploy.js b/src/deploy.js index 68c7428..8c53727 100644 --- a/src/deploy.js +++ b/src/deploy.js @@ -55,6 +55,7 @@ } ignore = ignore.map( ignoredFile => `!${ignoredFile}` ) + ignore = ignore.filter( ignoredFile => !ignoredFile.match(/^chcp/) ) // console.log('Credentials: ', credentials); // console.log('Config: ', config);