diff options
Diffstat (limited to 'commands/install.js')
-rw-r--r-- | commands/install.js | 4 |
1 files changed, 2 insertions, 2 deletions
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"); } } |