From 698f4a325fead3fb1a634a24d98d3238acf904ff Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 13 Feb 2022 20:37:33 +0100 Subject: Update deprecated notice --- commands/install.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands') diff --git a/commands/install.js b/commands/install.js index 8586e91..a9829a1 100644 --- a/commands/install.js +++ b/commands/install.js @@ -114,9 +114,9 @@ module.exports = async (argv) => { if (typeof pkg.deprecated === "string") { if (pkg.deprecated.toString().trim() !== "") { - console.log(c.yellow("warn: ") + "package '" + pkg.name + "' has been marked as deprecated: " + pkg.deprecated); + console.log(c.yellow("warn: ") + "package '" + pkg.id + "' has been marked as deprecated: " + pkg.deprecated); } else { - console.log(c.yellow("warn: ") + "package '" + pkg.name + "' has been marked as deprecated"); + console.log(c.yellow("warn: ") + "package '" + pkg.id + "' has been marked as deprecated"); } } -- cgit