From 2b45de9515dbea4e8c153677571a4ba8d6482bb1 Mon Sep 17 00:00:00 2001 From: David Hiendl Date: Fri, 19 Jan 2024 14:31:22 +0100 Subject: [PATCH] add missing confirm for apt ruby install --- dist/index.js | 2 +- src/lib.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 3a40ec0..ca84006 100644 --- a/dist/index.js +++ b/dist/index.js @@ -30201,7 +30201,7 @@ function prepareFpmArgs() { } async function installFpmViaRuby(debug) { - const aptCmd = 'sudo apt-get install ruby'; + const aptCmd = 'sudo apt-get install -y ruby'; const gemCmd = 'sudo gem install fpm'; if (debug) { console.log('ruby install command: ', rubyCmd); diff --git a/src/lib.js b/src/lib.js index 1802d2d..08195c2 100644 --- a/src/lib.js +++ b/src/lib.js @@ -7,7 +7,7 @@ export function prepareFpmArgs() { } export async function installFpmViaRuby(debug) { - const aptCmd = 'sudo apt-get install ruby'; + const aptCmd = 'sudo apt-get install -y ruby'; const gemCmd = 'sudo gem install fpm'; if (debug) { console.log('ruby install command: ', rubyCmd);