diff --git a/capture.gif b/capture.gif index 8ce0a49..7f6055e 100644 Binary files a/capture.gif and b/capture.gif differ diff --git a/package.json b/package.json index cf63b18..0d0f0ec 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-avro-viewer", "displayName": "Avro Viewer for VS Code", "description": ".avro file viewer for VS Code", - "version": "0.0.2", + "version": "0.0.3", "publisher": "romiogaku", "repository": "https://github.com/romiogaku/vscode-avro-viewer", "engines": { diff --git a/src/extension.ts b/src/extension.ts index 8b76060..5bc376d 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -16,7 +16,7 @@ export function activate({ subscriptions }: vscode.ExtensionContext) { decoder.on("data", (type: any) => { datas.push(JSON.stringify(type, null, 4)); }); - await new Promise(resolve => decoder.on('end', () => resolve("ended"))); + await new Promise(resolve => decoder.on('end', () => resolve())); const data = datas.join("\n"); return `=============METADATA============ ${metadata}