Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
terrablue committed Aug 4, 2024
1 parent 4870698 commit e5bbc4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/go/src/private/build.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import faulty_route from "#error/faulty-route";
import pkg from "#pkg" with { type: "json" };
import pkgname from "#pkgname";
import log from "@primate/core/log";
import dim from "@rcompat/cli/color/dim";
import { user } from "@rcompat/env";
Expand Down Expand Up @@ -158,7 +158,7 @@ export default ({ extension }) => (app, next) => {
await base.join(js).write(js_wrapper(wasm_route_path, routes));

try {
log.info(`compiling ${dim(file)} to WebAssembly`, { module: pkg.name });
log.info(`compiling ${dim(file)} to WebAssembly`, { module: pkgname });
const cwd = `${base}`;
// compile .go to .wasm
await execute(run(wasm, go, includes.join(" ")),
Expand Down

0 comments on commit e5bbc4d

Please sign in to comment.