From c742ac02ee6f1a751d4cd1516bf984e790eef1eb Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Sun, 9 Dec 2018 13:11:41 +0100 Subject: [PATCH] refactor(deprecations): add info on how to disable --- lib/workers/repository/process/deprecated.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/workers/repository/process/deprecated.js b/lib/workers/repository/process/deprecated.js index fc43da6d9c..3a664a782a 100644 --- a/lib/workers/repository/process/deprecated.js +++ b/lib/workers/repository/process/deprecated.js @@ -39,6 +39,8 @@ async function raiseDeprecationWarnings(config, packageFiles) { issueBody += `\n\nAffected package file(s): ${depPackageFiles .map(f => '`' + f + '`') .join(', ')}`; + issueBody += + '\n\n Would you like to disable Renovate\'s deprecation warning issues? Add the following to your config:\n\n```\n"suppressNotifications": ["deprecationWarningIssues"]\n```\n\n'; // istanbul ignore if if (config.dryRun) { logger.info('DRY-RUN: Ensure deprecation warning issue for ' + depName); -- GitLab