aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/release.js6
-rw-r--r--build/release/dist.js4
2 files changed, 2 insertions, 8 deletions
diff --git a/build/release.js b/build/release.js
index 95cb8372d..388bea873 100644
--- a/build/release.js
+++ b/build/release.js
@@ -45,12 +45,6 @@ module.exports = function( Release ) {
* @param {Function} callback
*/
dist: function( callback ) {
-
- if ( Release.isTest ) {
- callback();
- return;
- }
-
dist( Release, callback );
}
});
diff --git a/build/release/dist.js b/build/release/dist.js
index 1ebeee0b9..21e7d5662 100644
--- a/build/release/dist.js
+++ b/build/release/dist.js
@@ -101,7 +101,7 @@ module.exports = function( Release, complete ) {
Release.dir.repo = Release.dir.dist;
}
- Release.walk([
+ Release.walk( [
Release._section( "Copy files to distribution repo" ),
clone,
copy,
@@ -109,5 +109,5 @@ module.exports = function( Release, complete ) {
Release._section( "Pushing files to distribution repo" ),
push
- ], complete);
+ ], complete );
};