diff options
| author | Aiden Cline <[email protected]> | 2025-11-18 00:49:17 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2025-11-18 00:49:17 -0600 |
| commit | 4359719f9a2329b4ff0f862eb3191ec9efe616b5 (patch) | |
| tree | e88b35e1761305dd0e17216c4f0d555730e39a20 /nix/scripts/canonicalize-node-modules.ts | |
| parent | 5e13527416e183c7ea6d1baa3528b5c30108372e (diff) | |
| download | opencode-4359719f9a2329b4ff0f862eb3191ec9efe616b5.tar.gz opencode-4359719f9a2329b4ff0f862eb3191ec9efe616b5.zip | |
ignore: format
Diffstat (limited to 'nix/scripts/canonicalize-node-modules.ts')
| -rw-r--r-- | nix/scripts/canonicalize-node-modules.ts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nix/scripts/canonicalize-node-modules.ts b/nix/scripts/canonicalize-node-modules.ts index 791d96dfe..bb004f3c5 100644 --- a/nix/scripts/canonicalize-node-modules.ts +++ b/nix/scripts/canonicalize-node-modules.ts @@ -35,9 +35,11 @@ for (const entry of directories) { versions.set(slug, list) } -const semverModule = (await import(join(bunRoot, "node_modules/semver"))) as SemverLike | { - default: SemverLike -} +const semverModule = (await import(join(bunRoot, "node_modules/semver"))) as + | SemverLike + | { + default: SemverLike + } const semver = "default" in semverModule ? semverModule.default : semverModule const selections = new Map<string, Entry>() @@ -91,4 +93,4 @@ for (const line of rewrites.slice(0, 20)) { } if (rewrites.length > 20) { console.log(" ...") -}
\ No newline at end of file +} |
