Skip to content

Commit 55d16c3

Browse files
authored
Merge pull request #1220 from graphprotocol/horizon-merge-fixes
2 parents d7dd62d + 62af6fb commit 55d16c3

File tree

2 files changed

+5
-56
lines changed

2 files changed

+5
-56
lines changed

.yarn/patches/typechain-npm-8.3.2-b02e27439e.patch

Lines changed: 0 additions & 56 deletions
This file was deleted.

packages/token-distribution/scripts/build.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ const graphClientIndex = path.join(graphClientDir, 'index.js')
2929
const contractsDir = path.join(rootDir, 'contracts')
3030
const artifactsDir = path.join(rootDir, 'artifacts')
3131

32+
if (!process.env.STUDIO_API_KEY) {
33+
console.log('Warning: STUDIO_API_KEY is not set. Skipping build steps. Some functionality may be limited.')
34+
process.exit(0)
35+
}
36+
3237
// Check if a file exists
3338
function fileExists(filePath) {
3439
try {

0 commit comments

Comments
 (0)