diff --git a/README.md b/README.md index 4082e0b..2522a36 100644 --- a/README.md +++ b/README.md @@ -99,11 +99,11 @@ octokit // do nothing if it does not exist if (!exists) return null; - const content = Buffer.from(content, encoding) - .toString("utf-8") - .toUpperCase(); + const fileContent = Buffer.from(content, encoding).toString( + "utf-8" + ); - if (content.includes("octomania")) { + if (fileContent.includes("octomania")) { // delete file return DELETE_FILE; }