Spaces before and after if conditions

This commit is contained in:
John Days 2015-06-02 23:32:49 +01:00
parent 169af1fb58
commit 34546e3bc8

View File

@ -12,12 +12,12 @@ function getBundle(flags) {
var outPath = flags.out ? flags.out : OUT_PATH;
var projectRoots = [path.resolve(__dirname, '../../..')];
if(flags.root){
if (flags.root) {
projectRoots.push(path.resolve(flags.root));
}
var assetRoots = [path.resolve(__dirname, '../../..')];
if(flags.assetRoot){
if (flags.assetRoot) {
assetRoots.push(path.resolve(flags.assetRoot));
}