Skip to content

Commit

Permalink
feat: throw error if process.env.DEV_BRANCH is not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansonhkg committed Aug 5, 2024
1 parent d87ff39 commit 79214b2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions fetch-contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ if (!process.env.GH_LIT_ASSETS_READ_ONLY_API) {
throw new Error("❌ GH_LIT_ASSETS_READ_ONLY_API is not defined");
}

const DEV_BRANCH = process.env.DEV_BRANCH;
// || "feature/get-node-info-in-one-contract-call"
const DEV_BRANCH = process.env.DEV_BRANCH;

if (!DEV_BRANCH) {
throw new Error("❌ DEV_BRANCH is not defined");
}

type ABISource = {
repoName: string;
Expand Down

0 comments on commit 79214b2

Please sign in to comment.