Skip to content

Commit

Permalink
Fix cwd FFI (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanMartinez authored Jul 26, 2023
1 parent 38dcd31 commit a41085c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ Bugfixes:

Other improvements:

## [v11.1.1](https://github.com/purescript-node/purescript-node-process/releases/tag/v11.1.0) - 2023-07-25

Bugfixes:
- Fixes FFI for `cwd` (#44 by @JordanMartinez)

## [v11.1.0](https://github.com/purescript-node/purescript-node-process/releases/tag/v11.1.0) - 2023-07-24

New Features:
Expand Down
2 changes: 1 addition & 1 deletion src/Node/Process.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const config = () => Object.assign({}, process.config);
export const connected = () => process.connected;
export const cpuUsage = () => process.cpuUsage();
export const cpuUsageDiffImpl = (prevVal) => process.cpuUsage(prevVal);
export const cwd = () => process.cwd;
export const cwd = () => process.cwd();
export const debugPort = process.debugPort;
export const disconnectImpl = process.disconnect ? () => process.disconnect() : null;
export const getEnv = () => Object.assign({}, process.env);
Expand Down

0 comments on commit a41085c

Please sign in to comment.