Skip to content

Commit

Permalink
added check for file in check-localstorage-usage.js script
Browse files Browse the repository at this point in the history
  • Loading branch information
chandel-aman committed Jan 28, 2024
1 parent 8dd16c6 commit 5b04c94
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/githooks/check-localstorage-usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ const checkLocalStorageUsage = (file) => {
}

try {
// Check if the file exists
if (fs.existsSync(file)) {
const content = readFileSync(file, 'utf-8');

Expand Down

0 comments on commit 5b04c94

Please sign in to comment.