mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 16:53:02 +08:00
Sym 2 (#12665)
Co-authored-by: nikitulb <nick.medvik@gmail.com> Co-authored-by: allush <al.lushnikov@yandex.ru>
This commit is contained in:
@@ -28,7 +28,10 @@ function run() {
|
||||
|
||||
run()
|
||||
|
||||
const ignoredFolders = ['symbiosis-finance', 'node_modules']
|
||||
|
||||
function updateFile(file) {
|
||||
if (ignoredFolders.some(s => file.includes(s))) return;
|
||||
let relativePath = path.relative(file + '/..', allLabelsFile)
|
||||
if (relativePath.startsWith('coreAssets')) relativePath = './' + relativePath
|
||||
const requireStr = `const ADDRESSES = require('${relativePath}')\n`
|
||||
|
||||
Reference in New Issue
Block a user