diff --git a/.gitignore b/.gitignore index a96fd72..f2190a4 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /tmp /yarn.lock node_modules +.vscode/ diff --git a/LICENSE b/LICENSE index 9f2c887..2ecf839 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Contentstack Solutions +Copyright (c) 2023 Contentstack Solutions Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/package.json b/package.json index 96950ed..5b0c4cf 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "contentstack-cli-tsgen", "description": "Generate TypeScript typings from a Stack.", - "version": "1.0.13", + "version": "1.0.14", "author": "Michael Davis", "bugs": "https://github.com/Contentstack-Solutions/contentstack-cli-tsgen/issues", "dependencies": { diff --git a/src/commands/tsgen.ts b/src/commands/tsgen.ts index 4ae5873..471c0bd 100644 --- a/src/commands/tsgen.ts +++ b/src/commands/tsgen.ts @@ -47,7 +47,7 @@ export default class TypeScriptCodeGeneratorCommand extends Command { async run() { try { - const {flags} = this.parse(TypeScriptCodeGeneratorCommand) + const {flags} = await this.parse(TypeScriptCodeGeneratorCommand) const token = this.getToken(flags['token-alias']) const prefix = flags.prefix