Skip to content

Commit

Permalink
docs ~ note possible alternative to search list for POSIX temp dir di…
Browse files Browse the repository at this point in the history
…scovery
  • Loading branch information
rivy committed Jul 31, 2022
1 parent e37e8bb commit 8d00cb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/OSPaths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ function Adapt(adapter_: Platform.Adapter): { readonly OSPaths: OSPaths } {
env.get('TMPDIR'),
env.get('TEMP'),
env.get('TMP'),
// '/var/tmp'
];
return normalizePath(priorityList.find((v) => !isEmpty(v))) || fallback;
}
Expand Down

0 comments on commit 8d00cb0

Please sign in to comment.