From 11c59b6dc9e01edcd0ae718644782ffa7de541c0 Mon Sep 17 00:00:00 2001 From: Adam Rensel Date: Wed, 12 May 2021 15:51:31 -0400 Subject: [PATCH] markdown is valid compare to false --- .github/workflows/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/src/index.js b/.github/workflows/src/index.js index 7a336992..229de021 100644 --- a/.github/workflows/src/index.js +++ b/.github/workflows/src/index.js @@ -138,7 +138,7 @@ try { feedback.push(`* *Uh Oh! I've found some issues with where you have created your files!* \n\t${isFilePathValid.errors?.join('\n')}`) } - if(!isMarkdownValid.isValid) { + if(isMarkdownValid.isValid === false) { console.log("markdown is invalid") feedback.push(`* *Please take another look at your markdown file, there are errors:* \n\t${isMarkdownValid.errors?.join('\n')}`) } -- knotmirror 0.0.1