Skip to content

Commit

Permalink
fixed syntax issues so that it can pass lint test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdufitum committed Sep 12, 2024
1 parent 177b839 commit 8cbe5c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions public/src/client/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ define('forum/register', [
if (results.every(obj => obj.status === 'rejected')) {
showSuccess(usernameInput, username_notify, successIcon);
} else {
showError(usernameInput, username_notify, '[[error:username-taken, ' + username + 'suffix' + ']]');
}
showError(usernameInput, username_notify, `[[error:username-taken, ${username}suffix]]`); }

Check failure on line 138 in public/src/client/register.js

View workflow job for this annotation

GitHub Actions / test

Unexpected tab character

Check failure on line 138 in public/src/client/register.js

View workflow job for this annotation

GitHub Actions / test

Closing curly brace should be on the same line as opening curly brace or on the line after the previous block

callback();
});
Expand Down

0 comments on commit 8cbe5c5

Please sign in to comment.