aboutsummaryrefslogtreecommitdiff
path: root/commands/install.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/install.js')
-rw-r--r--commands/install.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/install.js b/commands/install.js
index ebd0a82..f8a238b 100644
--- a/commands/install.js
+++ b/commands/install.js
@@ -159,7 +159,7 @@ module.exports = async (argv) => {
}
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
}))) {