Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
kkiyama117 authored Feb 17, 2022
1 parent 0aa98b4 commit d18a485
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function downloadSchemas(
statusItem.text = 'Fetching schema index';

try {
const index:any = await fetch(config.indexUrl).then((res) => res.json());
const index: any = await fetch(config.indexUrl).then((res) => res.json());

if (!index?.schemas) {
throw new Error('invalid index JSON');
Expand Down
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import fetch, { Headers, Request, Response } from 'node-fetch';

let taplo: TaploLsp;

process.on('message', async (d:any) => {
process.on('message', async (d: any) => {
if (d.method === 'exit') {
exit(0);
}
Expand Down

0 comments on commit d18a485

Please sign in to comment.