Skip to content

Commit 975f858

Browse files
committed
chore: lockfile lefthook
1 parent f9a5fe1 commit 975f858

4 files changed

Lines changed: 48 additions & 7 deletions

File tree

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,6 @@ members = [
531531
[workspace.dependencies.rivet-ups-protocol]
532532
path = "engine/sdks/rust/ups-protocol"
533533

534-
[workspace.dependencies.rivetkit-sqlite-native]
535-
path = "rivetkit-typescript/packages/sqlite-native"
536-
537534
[profile.dev]
538535
overflow-checks = false
539536
# "line-tables-only" produces just the line-number DWARF needed for stack

lefthook.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
pre-commit:
22
parallel: true
33
commands:
4+
cargo-lock:
5+
run: cargo metadata --locked --no-deps >/dev/null
6+
tags: lockfile
7+
pnpm-lock:
8+
run: pnpm install --frozen-lockfile --ignore-scripts
9+
tags: lockfile
410
cargo-fmt:
511
run: cargo fmt --all
612
tags: formatting
@@ -10,10 +16,9 @@ pre-commit:
1016
# run: pnpm fmt
1117
# tags: formatting
1218
# stage_fixed: true
13-
# TODO: this is being a pain in my ass we'll figrue out a better way
19+
# TODO: this is being a pain in my ass we'll figrue out a better way
1420
# generate-vercel-examples:
1521
# glob: "examples/**/*"
1622
# exclude: "examples/*-vercel/**/*"
1723
# run: npx tsx scripts/vercel-examples/generate-vercel-examples.ts
1824
# stage_fixed: true
19-

pnpm-lock.yaml

Lines changed: 40 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rivetkit-typescript/packages/rivetkit-native/src/database.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ pub async fn open_database_from_envoy(
520520
rt_handle,
521521
preloaded_entries,
522522
)
523-
.map_err(|e| napi::Error::from_reason(format!("failed to register VFS: {}", e)))?;
523+
.map_err(|e| napi::Error::from_reason(format!("failed to register VFS: {}", e)))?;
524524

525525
rivetkit_sqlite_native::vfs::open_database(vfs, &actor_id)
526526
.map_err(|e| napi::Error::from_reason(format!("failed to open database: {}", e)))

0 commit comments

Comments
 (0)