Linting errors

This commit is contained in:
efarooqui
2021-02-17 11:36:36 -08:00
parent d6512e2cde
commit b91068c346
3 changed files with 3 additions and 3 deletions

View File

@@ -14,6 +14,6 @@ export default {
}, },
success: { success: {
update: 'All sheets updated', update: 'All sheets updated',
export: dest => `All resources exported to the file: ${dest}`, export: dest => `All resources exported to the file: ${dest}`
} }
} }

View File

@@ -41,7 +41,7 @@ class Controller {
} }
retrieveAll (fileDest) { retrieveAll (fileDest) {
if (!fileDest) return Promise.reject(new Error(copy.errors.export.fileMissing)) if (!fileDest) return Promise.reject(new Error(copy.errors.export.fileMissing))
const indexedData = {} const indexedData = {}
const urls = [] const urls = []

View File

@@ -16,7 +16,7 @@ function camelize (str) {
}) })
} }
export async function exportToFile(fileDest, data) { export async function exportToFile (fileDest, data) {
const stringifiedData = JSON.stringify(data, null, 2) const stringifiedData = JSON.stringify(data, null, 2)
const filePath = `${fileDest}/export.json` const filePath = `${fileDest}/export.json`