grpc-js: fix lint

This commit gets `npm run lint` passing again.
This commit is contained in:
cjihrig 2019-06-06 09:33:40 -04:00
parent 1e03eae62f
commit ffe59e6edd
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5
2 changed files with 3 additions and 3 deletions

View File

@ -329,8 +329,8 @@ export class Http2Channel extends EventEmitter implements Channel {
stream: Http2CallStream,
metadata: Metadata
) {
const connectMetadata: Promise<Metadata> = this.connect().then(
() => metadata.clone()
const connectMetadata: Promise<Metadata> = this.connect().then(() =>
metadata.clone()
);
const finalMetadata: Promise<Metadata> = stream.filterStack.sendMetadata(
connectMetadata

View File

@ -33,7 +33,7 @@ export class StreamDecoder {
write(data: Buffer): Buffer[] {
let readHead = 0;
let toRead: number;
let result: Buffer[] = [];
const result: Buffer[] = [];
while (readHead < data.length) {
switch (this.readState) {