-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb2872e
commit b789b28
Showing
23 changed files
with
1,078 additions
and
960 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -727,20 +727,10 @@ export class DirBuilder { | |
} | ||
|
||
const mod = this.getPath(`modules/${this._modules.get(moduleName)}`); | ||
const edgedb = "edgedb"; | ||
|
||
mod.addImport({$: true}, edgedb); | ||
mod.addImportStar("$", "../reflection", {allowFileExt: true}); | ||
mod.addImportStar("_", "../imports", {allowFileExt: true}); | ||
|
||
// @ts-ignore | ||
const isDeno = typeof Deno !== "undefined"; | ||
if (moduleName === "std" && isDeno) { | ||
mod.addImport( | ||
{Buffer: true}, | ||
"https://deno.land/[email protected]/node/buffer.ts" | ||
); | ||
} | ||
|
||
return mod; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.