From d8c5c3102a30a7079c57d3a5fa81eba33e337a74 Mon Sep 17 00:00:00 2001 From: Alex Leventer Date: Wed, 21 Oct 2026 16:35:12 -0700 Subject: [PATCH] Fix crash with --instructions and --instructions-deploy Fixes #144 --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index b90302f..5eba001 100755 --- a/index.js +++ b/index.js @@ -190,6 +190,9 @@ if (pj) { pj.dockerfile ||= {} for (const prop in defaults) { + // --instructions is an alias for --instructions-deploy, handled below + if (prop === 'instructions') continue + if (prop in options && options[prop] !== pj.dockerfile[prop]) { if (options[prop] === defaults[prop]) { delete pj.dockerfile[prop]