Skip to content

Commit

Permalink
Minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Jul 18, 2019
1 parent 30f03f1 commit 489cf02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/ConsoleAgent.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ class ConsoleAgent extends Agent {

return new Promise(resolve => {
child.on('close', (code, signal) => {
if (signal && signal != "SIGKILL") {
stderr += "Error: Received unexpected signal: " + signal;
if (signal && signal !== "SIGKILL") {
stderr += `\nError: Received unexpected signal: ${signal}`;
}
resolve({stdout, stderr});
});
Expand Down
4 changes: 2 additions & 2 deletions lib/agents/jsc.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ class JSCAgent extends ConsoleAgent {
}
}

let newEnv = Object.assign({}, process.env, { DYLD_FRAMEWORK_PATH });
let env = Object.assign({}, process.env, { DYLD_FRAMEWORK_PATH });
this.cpOptions = {
env: newEnv
env
};
}

Expand Down

0 comments on commit 489cf02

Please sign in to comment.