Skip to content

Commit 5f0be62

Browse files
committed
chore: update readme (node 20 required), userPasswordPolicy.ts :delete console.log(error)
1 parent d45be6b commit 5f0be62

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This is a PrestaShop's theme we are working on. Please, if you work on this them
99

1010
## How to build assets
1111

12-
Same as the PrestaShop project, you need at least **NodeJS 16.x** and **NPM 8** in order to build the project.
12+
Same as the PrestaShop project, you need at least **NodeJS 20.x** and **NPM 8** in order to build the project.
1313

1414
First you need to install every node module:
1515

src/js/components/usePasswordPolicy.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,7 @@ const usePasswordPolicy = (selector: string): PasswordPolicyReturn => {
164164
const hints = ((content) => {
165165
try {
166166
return JSON.parse(content);
167-
} catch (error) {
168-
console.error(error);
167+
} catch {
169168
return false;
170169
}
171170
})(hintElement.innerHTML);

0 commit comments

Comments
 (0)