From 128009f581ad86e8b86ba8296a4ded95f00cf25e Mon Sep 17 00:00:00 2001 From: bsinglet Date: Sat, 21 Aug 2021 18:54:36 -0400 Subject: [PATCH] Update package-modifying-text.md Fixed bug (older font name?) from `o8` to `O8` so the code works. Also, updated the figlet version to the current one. --- content/hacking-atom/sections/package-modifying-text.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/hacking-atom/sections/package-modifying-text.md b/content/hacking-atom/sections/package-modifying-text.md index ef05e63525..ea9c97053f 100644 --- a/content/hacking-atom/sections/package-modifying-text.md +++ b/content/hacking-atom/sections/package-modifying-text.md @@ -115,7 +115,7 @@ Now we need to convert the selected text to ASCII art. To do this we will use th ```json "dependencies": { - "figlet": "1.0.8" + "figlet": "1.5.2" } ``` @@ -132,7 +132,7 @@ convert () { const selection = editor.getSelectedText() const figlet = require('figlet') - const font = 'o8' + const font = 'O8' figlet(selection, {font}, function (error, art) { if (error) { console.error(error)