From b381ae1508d1eb9238fa9e03294751c12136a958 Mon Sep 17 00:00:00 2001 From: Oliver Date: Sun, 18 Mar 2018 20:13:54 +0100 Subject: [PATCH] Return content URI even if artifact doesn't exist --- packages/aragon-cli/src/apm/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/aragon-cli/src/apm/index.js b/packages/aragon-cli/src/apm/index.js index 2dfb34872..6f4942610 100644 --- a/packages/aragon-cli/src/apm/index.js +++ b/packages/aragon-cli/src/apm/index.js @@ -43,6 +43,12 @@ module.exports = (web3, opts = { ) } ) + .catch(() => { + const [provider, location] = contentURI.split(':') + return { + content: { provider, location } + } + }) } function returnVersion (web3) {