Skip to content

Commit

Permalink
fix: 'homedir' is not exported by polyfill-node.os.js #52
Browse files Browse the repository at this point in the history
  • Loading branch information
islandZZZ committed Jul 1, 2022
1 parent 6c8cdbe commit 32bcb64
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions polyfills/os.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,13 @@ export function tmpDir() {
export var tmpdir = tmpDir;

export var EOL = '\n';

export function homedir(){
return '$HOME'
}

export default {
homedir: homedir,
EOL: EOL,
arch: arch,
platform: platform,
Expand Down

0 comments on commit 32bcb64

Please sign in to comment.