Skip to content

Commit

Permalink
change/API! ~ home() returns undefined when path is indeterminate
Browse files Browse the repository at this point in the history
  • Loading branch information
rivy committed Dec 28, 2020
1 parent 6c9e8b8 commit 39c5d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/OSPaths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as path from 'path';
export type OSPaths = {
new (): OSPaths;
(): OSPaths;
readonly home: () => string;
readonly home: () => string | undefined;
readonly temp: () => string;
};

Expand Down

0 comments on commit 39c5d6a

Please sign in to comment.