diff options
author | Julien Dessaux | 2023-05-30 22:22:16 +0200 |
---|---|---|
committer | Julien Dessaux | 2023-05-30 22:22:16 +0200 |
commit | afe2db8a35c175c6fdd1cd9f120fcc466dd71f2e (patch) | |
tree | a93a6d135ad4445c3b4bf448c75d8eafa17e79a5 | |
parent | Retry on HTTP timeout instead of propagating the error (diff) | |
download | spacetraders-afe2db8a35c175c6fdd1cd9f120fcc466dd71f2e.tar.gz spacetraders-afe2db8a35c175c6fdd1cd9f120fcc466dd71f2e.tar.bz2 spacetraders-afe2db8a35c175c6fdd1cd9f120fcc466dd71f2e.zip |
Refactoring
Diffstat (limited to '')
-rw-r--r-- | automation/contracting.js (renamed from automation/contract.js) | 0 | ||||
-rwxr-xr-x | main.js | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/automation/contract.js b/automation/contracting.js index aebb265..aebb265 100644 --- a/automation/contract.js +++ b/automation/contracting.js @@ -1,4 +1,4 @@ -import * as autoContract from './automation/contract.js'; +import * as autoContracting from './automation/contracting.js'; import * as autoMining from './automation/mining.js'; import * as agent from './lib/agent.js'; import * as api from './lib/api.js'; @@ -18,7 +18,7 @@ status Servers' status`); switch(process.argv[2]) { case 'autoContractForShip': - await autoContract.auto({ship: process.argv[3]}); + await autoContracting.auto({ship: process.argv[3]}); break; case 'autoMiningForShip': await autoMining.mineUntilFullOf({ship: process.argv[3], good: 'NON_EXISTENT'}); |