Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thpani committed Aug 2, 2023
1 parent ad0ddca commit 60fb43b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion quint/src/quintVerifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,9 @@ async function connect(cmdExecutor: AsyncCmdExecutor): Promise<VerifyResult<Apal
* @returns right(void) if verification succeeds, or left(err) explaining the failure
*/
export async function verify(config: any): Promise<VerifyResult<void>> {
// Attempt to load proto definition from Apalache distribution, else via reflection
// Attempt to load proto definition:
// - if APALACHE_DIST is set, from the Apalache distribution
// - otherwise, via gRPC reflection
const protoDefResult = process.env.APALACHE_DIST
? findApalacheDistribution().chain(dist => loadProtoDefViaDistribution(dist))
: await loadProtoDefViaReflection()
Expand Down

0 comments on commit 60fb43b

Please sign in to comment.