Skip to content

Commit 4359719

Browse files
committed
ignore: format
1 parent 5e13527 commit 4359719

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.github/workflows/update-nix-hashes.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ on:
77
workflow_dispatch:
88
push:
99
paths:
10-
- 'bun.lock'
11-
- 'package.json'
12-
- 'packages/*/package.json'
10+
- "bun.lock"
11+
- "package.json"
12+
- "packages/*/package.json"
1313
pull_request:
1414
paths:
15-
- 'bun.lock'
16-
- 'package.json'
17-
- 'packages/*/package.json'
15+
- "bun.lock"
16+
- "package.json"
17+
- "packages/*/package.json"
1818

1919
jobs:
2020
update:

nix/scripts/bun-build.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ import fs from "fs"
44

55
const version = "@VERSION@"
66
const pkg = path.join(process.cwd(), "packages/opencode")
7-
const parser = fs.realpathSync(
8-
path.join(pkg, "./node_modules/@opentui/core/parser.worker.js"),
9-
)
7+
const parser = fs.realpathSync(path.join(pkg, "./node_modules/@opentui/core/parser.worker.js"))
108
const worker = "./src/cli/cmd/tui/worker.ts"
119
const target = process.env["BUN_COMPILE_TARGET"]
1210

@@ -62,7 +60,7 @@ const result = await Bun.build({
6260
compile: {
6361
target,
6462
outfile: "opencode",
65-
execArgv: ["--user-agent=opencode/" + version, "--env-file=\"\"", "--"],
63+
execArgv: ["--user-agent=opencode/" + version, '--env-file=""', "--"],
6664
windows: {},
6765
},
6866
})

nix/scripts/canonicalize-node-modules.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ for (const entry of directories) {
3535
versions.set(slug, list)
3636
}
3737

38-
const semverModule = (await import(join(bunRoot, "node_modules/semver"))) as SemverLike | {
39-
default: SemverLike
40-
}
38+
const semverModule = (await import(join(bunRoot, "node_modules/semver"))) as
39+
| SemverLike
40+
| {
41+
default: SemverLike
42+
}
4143
const semver = "default" in semverModule ? semverModule.default : semverModule
4244
const selections = new Map<string, Entry>()
4345

@@ -91,4 +93,4 @@ for (const line of rewrites.slice(0, 20)) {
9193
}
9294
if (rewrites.length > 20) {
9395
console.log(" ...")
94-
}
96+
}

0 commit comments

Comments
 (0)