Merge pull request #7074 from nextcloud/use-proper-whitespace
Use proper whitespace
This commit is contained in:
commit
d4f83d505a
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue