Skip to content

Commit

Permalink
Minor linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
theethernaut committed Nov 12, 2019
1 parent 5726f5d commit 769352a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/aragon-cli/src/commands/apm_cmds/versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,20 @@ exports.handler = async function({
const web3 = await ensureWeb3(network)
const apmRepoName = apmRepo ? defaultAPMName(apmRepo) : module.appName

const progressHandler = (step) => {
switch(step) {
const progressHandler = step => {
switch (step) {
case 1:
console.log(`Fetching ${chalk.bold(apmRepoName)} published versions`)
break
}
}

const versions = await getApmRepoVersions(web3, apmRepoName, apmOptions, progressHandler)
const versions = await getApmRepoVersions(
web3,
apmRepoName,
apmOptions,
progressHandler
)

reporter.info(
`${chalk.blue(apmRepoName)} has ${chalk.green(
Expand Down

0 comments on commit 769352a

Please sign in to comment.