diff options
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])) }; } |