Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Jan 10, 2024
1 parent 665505a commit 7aa3c5b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ const { PromisePool } = require('@supercharge/promise-pool')
const currentCacheVersion = sdk.cache.currentVersion // load env for cache
// console.log(`Using cache version ${currentCacheVersion}`)

Object.keys(process.env).forEach((key) => {
if (key.endsWith('_RPC')) return;
if (['TVL_LOCAL_CACHE_ROOT_FOLDER', 'LLAMA_DEBUG_MODE', ...ENV_KEYS].includes(key) || key.includes('SDK')) return;
delete process.env[key]
})
if (process.env.LLAMA_SANITIZE)
Object.keys(process.env).forEach((key) => {
if (key.endsWith('_RPC')) return;
if (['TVL_LOCAL_CACHE_ROOT_FOLDER', 'LLAMA_DEBUG_MODE', ...ENV_KEYS].includes(key) || key.includes('SDK')) return;
delete process.env[key]
})

const locks = [];
function getCoingeckoLock() {
Expand Down

0 comments on commit 7aa3c5b

Please sign in to comment.