diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-09-02 01:59:16 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-09-03 10:45:58 -0400 |
commit | 787832c68ec2a735717eb32c295a3aa570294ae2 (patch) | |
tree | fa3fa70a0a6fac546e11e8e9f9229a3e7b29e2ca /js | |
parent | f949ded933aad669b952adcaa5a92f8a5df2b38e (diff) |
Format.
Diffstat (limited to 'js')
-rw-r--r-- | js/compiler.ts | 5 | ||||
-rw-r--r-- | js/test_util.ts | 2 |
2 files changed, 2 insertions, 5 deletions
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])) }; } |