Skip to content

Commit

Permalink
post-rebase prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
gilgardosh committed Jan 10, 2023
1 parent 145a21a commit 9a61d85
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
7 changes: 6 additions & 1 deletion examples/grpc-example/start-server.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import { Server, loadPackageDefinition, ServerCredentials, ServiceClientConstructor } from '@grpc/grpc-js';
import {
Server,
loadPackageDefinition,
ServerCredentials,
ServiceClientConstructor,
} from '@grpc/grpc-js';
import { load } from '@grpc/proto-loader';
import { join } from 'path';

Expand Down
7 changes: 6 additions & 1 deletion examples/grpc-reflection-example/start-server.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import { Server, loadPackageDefinition, ServerCredentials, ServiceClientConstructor } from '@grpc/grpc-js';
import {
Server,
loadPackageDefinition,
ServerCredentials,
ServiceClientConstructor,
} from '@grpc/grpc-js';
import { load } from '@grpc/proto-loader';
import { join } from 'path';

Expand Down
4 changes: 3 additions & 1 deletion examples/json-schema-fhir/scripts/download-fhir-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ async function downloadFhirSchema() {
await new Promise((resolve, reject) => {
res.body
.pipe(unzip.Parse())
.on('entry', (entry: Entry) => entry.pipe(createWriteStream(join(__dirname, `../${entry.path}`))))
.on('entry', (entry: Entry) =>
entry.pipe(createWriteStream(join(__dirname, `../${entry.path}`))),
)
.on('finish', resolve);
res.body.on('error', reject);
});
Expand Down

0 comments on commit 9a61d85

Please sign in to comment.