We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50fb1b1 commit 7fd847bCopy full SHA for 7fd847b
index.js
@@ -224,14 +224,16 @@ async function deploy({
224
225
if (successfulRemotePinners.length > 0) {
226
const pinnedHash = Object.values(pinnedHashes)[0]
227
- const gatewayUrl = httpGatewayUrl(pinnedHash, successfulRemotePinners[0])
228
const isEqual = hash => hash === pinnedHash
229
if (!fp.every(isEqual)(Object.values(pinnedHashes))) {
230
const spinner = ora()
231
spinner.fail('≠ Found inconsistency in pinned hashes:')
232
logError(pinnedHashes)
+ return undefined
233
}
234
235
+ const gatewayUrl = httpGatewayUrl(pinnedHash, successfulRemotePinners[0])
236
+
237
if (copyHttpGatewayUrlToClipboard) {
238
copyUrlToClipboard(gatewayUrl)
239
0 commit comments