From ad530b6242d4316b0b63b5eaaed1d1c5cf2ae616 Mon Sep 17 00:00:00 2001 From: Xmader Date: Thu, 22 Oct 2020 18:24:24 -0400 Subject: [PATCH] clarify the deprecation notice - #37 --- dist/main.js | 2 +- src/btn.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/main.js b/dist/main.js index 90bf049..1e8e497 100644 --- a/dist/main.js +++ b/dist/main.js @@ -26641,7 +26641,7 @@ Please pipe the document into a Node stream.\ BtnAction.PROCESSING_TEXT = 'Processing…'; BtnAction.ERROR_TEXT = '❌Download Failed!'; const deprecationNotice = (btnName) => { - return `DEPRECATED! (may still work)\n\nUse \`${btnName}\` inside \`Individual Parts\` instead.`; + return `DEPRECATED!\nUse \`${btnName}\` inside \`Individual Parts\` instead.\n(This may still work. Click \`OK\` to continue.)`; }; const normalizeUrlInput = (url) => { if (typeof url === 'function') diff --git a/src/btn.ts b/src/btn.ts index e55f5a7..844b611 100644 --- a/src/btn.ts +++ b/src/btn.ts @@ -88,7 +88,7 @@ export namespace BtnAction { export const ERROR_TEXT = '❌Download Failed!' const deprecationNotice = (btnName: string): string => { - return `DEPRECATED! (may still work)\n\nUse \`${btnName}\` inside \`Individual Parts\` instead.` + return `DEPRECATED!\nUse \`${btnName}\` inside \`Individual Parts\` instead.\n(This may still work. Click \`OK\` to continue.)` } type Promisable = T | Promise