Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
/tmp
/yarn.lock
node_modules
.vscode/
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/tsgen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down