Make the linter happy

This commit is contained in:
Johannes Zellner
2022-02-22 16:25:43 +01:00
parent 7cb7c52d15
commit 30234c5ac1
+1 -1
View File
@@ -364,7 +364,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
if ($scope.backupConfig[k] !== SECRET_PLACEHOLDER) tmp[k] = $scope.backupConfig[k];
});
var filename = 'cloudron-backup-config-' + (new Date).toISOString().replace(/:|T/g,'-').replace(/\..*/,'') + '.json';
var filename = 'cloudron-backup-config-' + (new Date()).toISOString().replace(/:|T/g,'-').replace(/\..*/,'') + '.json';
download(filename, JSON.stringify(tmp));
};