Dylan Baker před 5 roky
rodič
revize
17b32a8801
1 změnil soubory, kde provedl 10 přidání a 9 odebrání
  1. 10
    9
      src/ast.ts

+ 10
- 9
src/ast.ts Zobrazit soubor

@@ -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
 

Načítá se…
Zrušit
Uložit