File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
networks/src/networks/vNaga/envs/naga-local Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -132,9 +132,7 @@ export const init = async (
132132 const localContextPath = process . env [ 'NAGA_LOCAL_CONTEXT_PATH' ] ;
133133 if ( localContextPath ) {
134134 // Type guard: verify the module exposes withLocalContext so TypeScript narrows it to NagaLocal.
135- const isNagaLocalModule = (
136- module : unknown
137- ) : module is NagaLocalModule =>
135+ const isNagaLocalModule = ( module : unknown ) : module is NagaLocalModule =>
138136 ! ! module &&
139137 typeof ( module as { withLocalContext ?: unknown } ) . withLocalContext ===
140138 'function' ;
Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ function assertIsNagaLocalSignatures(
3535 typeof ( contract as { methods ?: unknown } ) . methods !== 'object'
3636 ) {
3737 throw new Error (
38- `Generated signatures missing required contract metadata for ${ key as string } `
38+ `Generated signatures missing required contract metadata for ${
39+ key as string
40+ } `
3941 ) ;
4042 }
4143 }
You can’t perform that action at this time.
0 commit comments