Skip to content

Commit

Permalink
docs(README): fix syntax error (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanbuck committed Jun 7, 2023
1 parent ac571dc commit 2593569
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2593569

Please sign in to comment.