Skip to content

Commit

Permalink
okay
Browse files Browse the repository at this point in the history
  • Loading branch information
paperdave committed Aug 2, 2023
1 parent 67e5719 commit bdab64c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/js/builtins/Module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function requireResolve(this: CommonJSModuleRecord, id: string) {
}

export function requireNativeModule(id: string) {
// I think there is a race condition here if an internal module calls this while usercode imports the same one.
// There might be a race condition here?
let esm = Loader.registry.$get(id);
if (esm?.evaluated && (esm.state ?? 0) >= $ModuleReady) {
const exports = Loader.getModuleNamespaceObject(esm.module);
Expand Down
1 change: 0 additions & 1 deletion src/js/node/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ class Server extends EventEmitter {

constructor(options, callback) {
super();
console.log("agsdfdsa", new Error().stack);

if (typeof options === "function") {
callback = options;
Expand Down
Loading

0 comments on commit bdab64c

Please sign in to comment.