Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Jul 26, 2023
1 parent 8788ea0 commit ef2f296
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quint/src/quintVerifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ import fs from 'fs'
import os from 'os'
import * as grpc from '@grpc/grpc-js'
import * as proto from '@grpc/proto-loader'
import * as protoDescriptor from 'protobufjs/ext/descriptor'
import * as protobufDescriptor from 'protobufjs/ext/descriptor'
import { setTimeout } from 'timers/promises'
import { promisify } from 'util'
import { ItfTrace } from './itf'
import { Buffer } from 'buffer'

import type { Buffer } from 'buffer'
import type { PackageDefinition as ProtoPackageDefinition } from '@grpc/proto-loader'

const APALACHE_SERVER_URI = 'localhost:8822'
Expand Down Expand Up @@ -253,7 +253,7 @@ async function loadProtoDefViaReflection(): Promise<VerifyResult<ProtoPackageDef

// Decode reflection response to FileDescriptorProto
let fileDescriptorProtos = protoDefResponse.file_descriptor_response.file_descriptor_proto.map(
bytes => protoDescriptor.FileDescriptorProto.decode(bytes) as protoDescriptor.IFileDescriptorProto
bytes => protobufDescriptor.FileDescriptorProto.decode(bytes) as protobufDescriptor.IFileDescriptorProto
)

// Use proto-loader to load the FileDescriptorProto wrapped in a FileDescriptorSet
Expand Down

0 comments on commit ef2f296

Please sign in to comment.