Skip to content

Commit

Permalink
Return content URI even if artifact doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
onbjerg authored and 0xGabi committed Feb 25, 2019
1 parent 03383c0 commit b381ae1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/aragon-cli/src/apm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ module.exports = (web3, opts = {
)
}
)
.catch(() => {
const [provider, location] = contentURI.split(':')
return {
content: { provider, location }
}
})
}

function returnVersion (web3) {
Expand Down

0 comments on commit b381ae1

Please sign in to comment.