Skip to content

Commit

Permalink
1.2.0 added check for host in SDK init
Browse files Browse the repository at this point in the history
  • Loading branch information
Phara0h committed Sep 11, 2019
1 parent 262b00c commit 4214bab
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

#### [v1.2.0](https://github.com/Phara0h/Postgen/compare/v1.1.5...v1.2.0)

> 11 September 2019
#### [v1.1.5](https://github.com/Phara0h/Postgen/compare/v1.1.4...v1.1.5)

> 30 August 2019
- 1.1.5 added changelog template [`262b00c`](https://github.com/Phara0h/Postgen/commit/262b00c7bf2a6cf11c2427ea1beca5ff41714fff)

#### [v1.1.4](https://github.com/Phara0h/Postgen/compare/v1.1.3...v1.1.4)

> 30 August 2019
Expand Down
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,9 @@ jsFile += genClass(collection.info.name, collection.item, '')

jsFile += `
module.exports= function(host){
hostUrl = host;
if(host) {
hostUrl = host;
}
return ${setClassName(collection.info.name)};
}
`
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postgen",
"version": "1.1.5",
"version": "1.2.0",
"description": "A simple node script to convert postman collections to clean REST client libs for node.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 4214bab

Please sign in to comment.