mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 20:59:30 +00:00
Lint cleanup with new rules
This commit is contained in:
@@ -38,9 +38,7 @@ function passwordsMatch(password1, password2) {
|
||||
* @return {string} - The sanitisied field
|
||||
*/
|
||||
function sanitiseField(field) {
|
||||
let cleanField;
|
||||
|
||||
cleanField = field.trim();
|
||||
const cleanField = field.trim();
|
||||
|
||||
return cleanField;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user