diff options
author | Minteck <contact@minteck.org> | 2022-02-13 20:37:33 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-02-13 20:37:33 +0100 |
commit | 698f4a325fead3fb1a634a24d98d3238acf904ff (patch) | |
tree | 28ee78d89bb185362483e97b125a3fda506747b8 /commands | |
parent | 45a6a73db69d3654ae245a4b9495caf6b9733efa (diff) | |
download | twilight-698f4a325fead3fb1a634a24d98d3238acf904ff.tar.gz twilight-698f4a325fead3fb1a634a24d98d3238acf904ff.tar.bz2 twilight-698f4a325fead3fb1a634a24d98d3238acf904ff.zip |
Update deprecated notice
Diffstat (limited to 'commands')
-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"); } } |