Skip to content

Commit 1b31573

Browse files
author
Vikram Kalta
committed
fix: this.parse is a asyncfunction
1 parent 122141b commit 1b31573

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
/tmp
77
/yarn.lock
88
node_modules
9+
.vscode/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "contentstack-cli-tsgen",
33
"description": "Generate TypeScript typings from a Stack.",
4-
"version": "1.0.13",
4+
"version": "1.0.14",
55
"author": "Michael Davis",
66
"bugs": "https://github.com/Contentstack-Solutions/contentstack-cli-tsgen/issues",
77
"dependencies": {

src/commands/tsgen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default class TypeScriptCodeGeneratorCommand extends Command {
4747

4848
async run() {
4949
try {
50-
const {flags} = this.parse(TypeScriptCodeGeneratorCommand)
50+
const {flags} = await this.parse(TypeScriptCodeGeneratorCommand)
5151

5252
const token = this.getToken(flags['token-alias'])
5353
const prefix = flags.prefix

0 commit comments

Comments
 (0)