From 787832c68ec2a735717eb32c295a3aa570294ae2 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 2 Sep 2018 01:59:16 -0400 Subject: Format. --- js/compiler.ts | 5 +---- js/test_util.ts | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'js') diff --git a/js/compiler.ts b/js/compiler.ts index 376bcc064..fc3dc0b17 100644 --- a/js/compiler.ts +++ b/js/compiler.ts @@ -427,10 +427,7 @@ export class DenoCompiler implements ts.LanguageServiceHost { */ makeDefine(moduleMetaData: ModuleMetaData): AmdDefine { // TODO should this really be part of the public API of the compiler? - return ( - deps: ModuleSpecifier[], - factory: AmdFactory - ): void => { + return (deps: ModuleSpecifier[], factory: AmdFactory): void => { this._log("compiler.localDefine", moduleMetaData.fileName); moduleMetaData.factory = factory; // when there are circular dependencies, we need to skip recursing the diff --git a/js/test_util.ts b/js/test_util.ts index 433bbf11b..b7210b43c 100644 --- a/js/test_util.ts +++ b/js/test_util.ts @@ -36,7 +36,7 @@ function permFromString(s: string): DenoPermissions { return { write: Boolean(Number(found[1])), net: Boolean(Number(found[2])), - env: Boolean(Number(found[3])), + env: Boolean(Number(found[3])) }; } -- cgit v1.2.3