Fixed linting error from bad merge

refs: #13380

- one of the prs I merged was a duplicate and ended up with the same messages object declared twice
This commit is contained in:
Hannah Wolfe 2021-10-08 15:49:27 +01:00
parent 48ac52800b
commit 8b7d0fc6a1
No known key found for this signature in database
GPG Key ID: 9F8C7532D0A6BA55

View File

@ -33,21 +33,7 @@ const ROOT_ONLY = 0;
const ROOT_OR_SINGLE_DIR = 1;
const ALL_DIRS = 2;
let defaults;
const messages = {
couldNotCleanUpFile: {
error: 'Import could not clean up file ',
context: 'Your site will continue to work as expected'
},
unsupportedRoonExport: 'Your zip file looks like an old format Roon export, please re-export your Roon blog and try again.',
noContentToImport: 'Zip did not include any content to import.',
invalidZipStructure: 'Invalid zip file structure.',
invalidZipFileBaseDirectory: 'Invalid zip file: base directory read failed',
zipContainsMultipleDataFormats: 'Zip file contains multiple data formats. Please split up and import separately.'
};
defaults = {
let defaults = {
extensions: ['.zip'],
contentTypes: ['application/zip', 'application/x-zip-compressed'],
directories: []