mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-04-30 13:52:23 +08:00
fix broken adapters
This commit is contained in:
@@ -4,7 +4,7 @@ inquirer.registerPrompt('fuzzypath', require('inquirer-fuzzy-path'))
|
||||
console.log('Starting directory: ' + process.cwd());
|
||||
const args = process.argv.slice(2); // The first two elements are 'node' and the script filename
|
||||
|
||||
const NEW_DIR = './projects/' + args[0]
|
||||
const NEW_DIR = './projects/' + (args[0] ?? '')
|
||||
|
||||
try {
|
||||
process.chdir(NEW_DIR);
|
||||
|
||||
Reference in New Issue
Block a user