From 0075711d56af4750e740d9c24e0b58e45809be23 Mon Sep 17 00:00:00 2001 From: Nicolai Moraru Date: Thu, 2 Apr 2015 12:52:37 +0300 Subject: [PATCH] Code style --- frontend/gulpfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index 271fc09848..4fb153afe6 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -133,7 +133,9 @@ gulp.task('webdriver:standalone', ['webdriver:update'], webdriverStandalone); gulp.task('tests:protractor', ['webdriver:update', 'webpack', 'sass', 'express'], function(done) { var address = server.address().address; - if ((address === '::' || address === '::1') && server.address().family === 'IPv6') address = '[0:0:0:0:0:0:0:1]'; + if ((address === '::' || address === '::1') && server.address().family === 'IPv6') { + address = '[0:0:0:0:0:0:0:1]'; + }; gulp.src('tests/integration/**/*_spec.js') .pipe(protractor({ configFile: 'tests/integration/protractor.conf.js',