From a59e017fade8405b2467a3645d0157c0f24fe39d Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Mon, 17 Apr 2017 16:56:53 -0400 Subject: [PATCH] separate if statements in codebuilder --- src/utils/CodeBuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/CodeBuilder.js b/src/utils/CodeBuilder.js index 357bf85af8..eb2e215c40 100644 --- a/src/utils/CodeBuilder.js +++ b/src/utils/CodeBuilder.js @@ -16,7 +16,7 @@ export default class CodeBuilder { this.result += `\n\t${line}`; } else { if ( this.lastCondition ) { - this.result += `\n}`; + this.result += `\n}\n\n`; } this.result += `if ( ${condition} ) {\n\t${line}`;