Skip to content

Commit

Permalink
Merge pull request #4 from romiogaku/feature/doc
Browse files Browse the repository at this point in the history
Feature/doc
  • Loading branch information
romiogaku authored Feb 22, 2019
2 parents 3f6a3ba + d279792 commit 5a4f9e9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified capture.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 5a4f9e9

Please sign in to comment.