diff --git a/lib/alias.js b/lib/alias.js index ce78bd3..315d0cf 100644 --- a/lib/alias.js +++ b/lib/alias.js @@ -59,6 +59,8 @@ export default class Alias extends Now { body: { alias } }); + if (304 === res.status) return; + const body = await res.json(); if (this._debug) console.timeEnd(`> [debug] /now/deployments/${depl.uid}/aliases #${attempt}`);