Skip to content

Commit

Permalink
fix: workarround for aws cli conflict with LD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonso-presa committed Oct 23, 2020
1 parent 9fb3de6 commit 380a9d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ async function getOutput(command) {
let result = '';
const child = spawn(command[0], command.slice(1), {env: {
...process.env,
AWS_PROFILE: undefined
AWS_PROFILE: undefined,
LD_LIBRARY_PATH: undefined,
}});
child.stdout.on('data', function(data) {
result+=data;
Expand Down

0 comments on commit 380a9d8

Please sign in to comment.