From 637ca7ba746c0241aaec79b79349d5dac4ec7408 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 12 Apr 2022 14:50:58 +0200 Subject: Add option to ignore unsafe packages --- commands/upgrade.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/upgrade.js') diff --git a/commands/upgrade.js b/commands/upgrade.js index 0113278..6ba31f3 100644 --- a/commands/upgrade.js +++ b/commands/upgrade.js @@ -84,7 +84,7 @@ async function processQueue() { } try { - if (!signed && !(await prompts.confirm({ + if (!signed && !ignoreUnsignedPackages && !(await prompts.confirm({ message: "This package is unsafe, installing it may damage your system. Are you sure you want to continue?", initial: false }))) { -- cgit