Skip to content

Commit

Permalink
Merge pull request #47 from matt-ball/1.0.4
Browse files Browse the repository at this point in the history
1.0.4
  • Loading branch information
matt-ball authored Dec 20, 2021
2 parents 0c66721 + 3bda078 commit 64419a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -254251,7 +254251,7 @@ async function init () {
options.collection = `${apiBase}/collections/${options.collection}?apikey=${options.apiKey}`
}

if (options.environment.match(idRegex)) {
if (options.environment && options.environment.match(idRegex)) {
if (!options.apiKey) {
core.setFailed('No Postman API key provided for environment retrieval.')
}
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": "newman-action",
"version": "1.0.3",
"version": "1.0.4",
"description": "Run Postman collections with Newman as a GitHub Action",
"main": "dist/index.js",
"repository": {
Expand Down

0 comments on commit 64419a6

Please sign in to comment.