Skip to content

Commit

Permalink
Cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
moimart committed May 19, 2018
1 parent e7bffb7 commit 02f44c1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ const setCwd = (pid, action) => {
}
}
} else {
exec(`lsof -p ${pid} | awk '$4=="cwd"' | tr -s ' ' | cut -d ' ' -f9-`, (err, stdout) => {
exec(
`lsof -p ${pid} | awk '$4=="cwd"' | tr -s ' ' | cut -d ' ' -f9-`,
(err, stdout) => {
rcwd = stdout.trim();
});
}
);
}

};
Expand Down

0 comments on commit 02f44c1

Please sign in to comment.