Skip to content
Snippets Groups Projects
Unverified Commit c9f3b5a3 authored by Morris Jobke's avatar Morris Jobke
Browse files

Use proper whitespace


Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
parent 576d31d4
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
*/ */
isFileNameValid: function (name) { isFileNameValid: function (name) {
var trimmedName = name.trim(); var trimmedName = name.trim();
if (trimmedName === '.' || trimmedName === '..') if (trimmedName === '.' || trimmedName === '..')
{ {
throw t('files', '"{name}" is an invalid file name.', {name: name}); throw t('files', '"{name}" is an invalid file name.', {name: name});
} else if (trimmedName.length === 0) { } else if (trimmedName.length === 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment