Skip to content

Commit 5668e7d

Browse files
fix issue #17
1 parent dd3cc9e commit 5668e7d

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-cli-js",
3-
"version": "2.2.2",
3+
"version": "2.2.3",
44
"description": "A node.js wrapper for the aws command line interface",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ export class Aws {
2626
public command(command: string, callback?: (err: any, data: any) => void): Promise<any> {
2727

2828
const execCommand = `${this.options.cliPath} ${command}`;
29-
29+
3030
const env_vars = ('HOME PATH AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY ' +
3131
'AWS_SESSION_TOKEN AWS_DEFAULT_REGION ' +
32-
'AWS_DEFAULT_PROFILE AWS_CONFIG_FILE').split(' ');
32+
'AWS_PROFILE AWS_DEFAULT_PROFILE AWS_CONFIG_FILE').split(' ');
3333

3434

3535
const env = env_vars.reduce((result: any, value: string) => {

0 commit comments

Comments
 (0)