Skip to content

Commit

Permalink
hook callbacks before write
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Jul 26, 2023
1 parent 1921175 commit 1a8cc1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quint/src/quintVerifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ async function loadProtoDefViaReflection(): Promise<VerifyResult<ProtoPackageDef
const protoDefResponses: ServerReflectionResponse[] = await new Promise((resolve, reject) => {
// Query reflection endpoint
const call = reflectionClient.ServerReflectionInfo()
call.write({ file_containing_symbol: 'shai.cmdExecutor.CmdExecutor' })

let responses: ServerReflectionResponse[] = []

Expand All @@ -248,6 +247,8 @@ async function loadProtoDefViaReflection(): Promise<VerifyResult<ProtoPackageDef
reject(e)
}
})

call.write({ file_containing_symbol: 'shai.cmdExecutor.CmdExecutor' })
})

if (protoDefResponses.length === 0) {
Expand Down

0 comments on commit 1a8cc1b

Please sign in to comment.