Skip to content

Commit

Permalink
Merge pull request #4 from JarvusInnovations/develop
Browse files Browse the repository at this point in the history
Release: hab-client v1.1.0
  • Loading branch information
themightychris authored Oct 16, 2019
2 parents 4b27e6c + 684950a commit 1301cbd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
5 changes: 5 additions & 0 deletions lib/Hab.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ class Hab {
delete arg.$shell;
}

if ('$cwd' in arg) {
execOptions.cwd = arg.$cwd;
delete arg.$cwd;
}

if ('$env' in arg) {
for (let key in arg.$env) {
commandEnv[key] = arg.$env[key];
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hab-client",
"version": "1.0.3",
"version": "1.1.0",
"description": "Promise-based habitat client that mostly just executes the hab binary but can also query the supervisor API",
"main": "index.js",
"scripts": {
Expand All @@ -23,7 +23,7 @@
},
"homepage": "https://github.com/JarvusInnovations/hab-client#readme",
"dependencies": {
"axios": "^0.18.0",
"axios": "^0.18.1",
"semver": "^5.6.0",
"underscore": "^1.9.1"
}
Expand Down

0 comments on commit 1301cbd

Please sign in to comment.