ソースを参照

Prettier

master
Dylan Baker 5年前
コミット
17b32a8801
1個のファイルの変更10行の追加9行の削除
  1. 10
    9
      src/ast.ts

+ 10
- 9
src/ast.ts ファイルの表示

@@ -281,21 +281,22 @@ export namespace AST {
281 281
       const rules: Array<string | EnvError> = this.children
282 282
         .filter((child) => child instanceof Rule)
283 283
         .map(
284
-        (child): string | EnvError => {
285
-          return child.compile(env, opts);
286
-        }
287
-      );
284
+          (child): string | EnvError => {
285
+            return child.compile(env, opts);
286
+          }
287
+        );
288 288
       const rulesError = rules.find((child) => child instanceof EnvError);
289 289
       if (rulesError !== undefined) return rulesError;
290 290
 
291 291
       const compiledRules = rules.join(lineSpacer);
292 292
 
293 293
       const children: Array<string | EnvError> = this.children
294
-      .filter((child) => child instanceof RuleSet).map(
295
-        (child): string | EnvError => {
296
-          return child.compile(env, opts);
297
-        }
298
-      );
294
+        .filter((child) => child instanceof RuleSet)
295
+        .map(
296
+          (child): string | EnvError => {
297
+            return child.compile(env, opts);
298
+          }
299
+        );
299 300
       const childrenError = children.find((child) => child instanceof EnvError);
300 301
       if (childrenError !== undefined) return childrenError;
301 302
 

読み込み中…
キャンセル
保存