Co-authored-by: nikitulb <nick.medvik@gmail.com>
Co-authored-by: allush <al.lushnikov@yandex.ru>
This commit is contained in:
g1nt0ki
2024-12-11 10:01:13 +01:00
committed by GitHub
parent ebfcf6ef43
commit 5e09261c35
3 changed files with 377 additions and 423 deletions

View File

@@ -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`