Skip to content

Commit

Permalink
fix: verify that process exists before using it (#1378)
Browse files Browse the repository at this point in the history
* make sure process exists

* cs

---------

Co-authored-by: Daniel Bate <[email protected]>
  • Loading branch information
Cameron Manavian and danielbate authored Oct 26, 2023
1 parent 036de78 commit 604543f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/sour-geckos-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fuel-ts/wallet": patch
---

Fixed usage of process
2 changes: 1 addition & 1 deletion packages/wallet/src/configs.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const FUEL_NETWORK_URL = process.env.FUEL_NETWORK_URL || 'http://127.0.0.1:4000/graphql';
export const FUEL_NETWORK_URL = process?.env?.FUEL_NETWORK_URL || 'http://127.0.0.1:4000/graphql';

0 comments on commit 604543f

Please sign in to comment.