Skip to content

Commit

Permalink
Undo last change
Browse files Browse the repository at this point in the history
  • Loading branch information
vdrg committed Dec 20, 2024
1 parent e45721a commit c6a502c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions packages/world/ts/node/render-solidity/worldgen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,13 @@ export async function worldgen({
const libraryImports = symbolImports.map(
({ symbol, path: importPath }): ImportDatum => ({
symbol,
path:
importPath.startsWith(".") || importPath.startsWith("..")
? "./" +
path.relative(
path.dirname(system.libraryPath),
path.join(rootDir, path.dirname(system.sourcePath), importPath),
)
: importPath,
path: importPath.startsWith(".")
? "./" +
path.relative(
path.dirname(system.libraryPath),
path.join(rootDir, path.dirname(system.sourcePath), importPath),
)
: importPath,
}),
);

Expand Down

0 comments on commit c6a502c

Please sign in to comment.