Skip to content

Commit

Permalink
docs ~ fix bug/typo in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
rivy committed Dec 27, 2020
1 parent 6a40429 commit 90f42bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eg/show-paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Object.keys(osPaths).forEach((key) => {
console.log({ key, value });
});

process.env.TMPDIR = process.env.TEMP = process.TMP = 'temp';
process.env.TMPDIR = process.env.TEMP = process.env.TMP = 'temp';
Object.keys(osPaths).forEach((key) => {
const value = osPaths[key]();
console.log({ key, value });
Expand Down

0 comments on commit 90f42bf

Please sign in to comment.