Skip to content

Commit

Permalink
feat: try in index
Browse files Browse the repository at this point in the history
  • Loading branch information
adantoscano committed Oct 10, 2023
1 parent 24d9256 commit c80e6f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/services/check-string-in-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export default async function(stringToCheck, filePath) {
let exists = false;

for await (const line of reader) {
console.log(line);
if(line===stringToCheck) {
exists = line===stringToCheck
break;
Expand Down

0 comments on commit c80e6f8

Please sign in to comment.