Skip to content

Commit

Permalink
fix: DEPLOYED env
Browse files Browse the repository at this point in the history
  • Loading branch information
DiRaiks committed Nov 1, 2024
1 parent 842914d commit f4592b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/deployed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const importConfigFile = (path?: string) => {
};

export const getContracts = () => {
const deployedFile = envs?.DEPLOYED;
const deployedFile = envs?.DEPLOYED || process.env.DEPLOYED;

if (!deployedFile) {
throw new Error("Deployed contracts file is not set, check .env file");
Expand Down

0 comments on commit f4592b2

Please sign in to comment.