fix coin install bugs
This commit is contained in:
parent
3e456246b0
commit
5cf4ee292a
3 changed files with 5 additions and 8 deletions
|
|
@ -60,7 +60,7 @@ function processCryptos (codes) {
|
|||
|
||||
function setupCrypto (crypto) {
|
||||
logger.info(`Installing ${crypto.display}...`)
|
||||
const cryptoDir = coinUtils.cryptoConfigDir(crypto)
|
||||
const cryptoDir = coinUtils.cryptoDir(crypto)
|
||||
makeDir.sync(cryptoDir)
|
||||
const cryptoPlugin = plugin(crypto)
|
||||
const oldDir = process.cwd()
|
||||
|
|
@ -85,7 +85,7 @@ function plugin (crypto) {
|
|||
|
||||
function run () {
|
||||
const choices = _.map(c => {
|
||||
const checked = isInstalledSoftware(c) && isInstalledVolume()
|
||||
const checked = isInstalledSoftware(c) && isInstalledVolume(c)
|
||||
return {
|
||||
name: c.display,
|
||||
value: c.code,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue