Reformat files with new linter
All changes should be whitespace, and were done using npm run-script
lint.
Change-Id: I943c6b435c5c872841af5affc1e89910468b5ca6
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/src/store/modules/Logs/DumpsStore.js b/src/store/modules/Logs/DumpsStore.js
index 746733a..328e316 100644
--- a/src/store/modules/Logs/DumpsStore.js
+++ b/src/store/modules/Logs/DumpsStore.js
@@ -60,7 +60,7 @@
{
DiagnosticDataType: 'Manager',
OEMDiagnosticDataType: '',
- }
+ },
)
.catch((error) => {
console.log(error);
@@ -74,7 +74,7 @@
{
DiagnosticDataType: 'OEM',
OEMDiagnosticDataType: 'System',
- }
+ },
)
.catch((error) => {
console.log(error);
@@ -86,7 +86,7 @@
api.delete(location).catch((error) => {
console.log(error);
return error;
- })
+ }),
);
return await api
.all(promises)
@@ -102,7 +102,7 @@
if (successCount) {
const message = i18n.tc(
'pageDumps.toast.successDeleteDump',
- successCount
+ successCount,
);
toastMessages.push({ type: 'success', message });
}
@@ -110,20 +110,20 @@
if (errorCount) {
const message = i18n.tc(
'pageDumps.toast.errorDeleteDump',
- errorCount
+ errorCount,
);
toastMessages.push({ type: 'error', message });
}
return toastMessages;
- })
+ }),
);
},
async deleteAllDumps({ commit, state }) {
const totalDumpCount = state.allDumps.length;
return await api
.post(
- '/redfish/v1/Managers/bmc/LogServices/Dump/Actions/LogService.ClearLog'
+ '/redfish/v1/Managers/bmc/LogServices/Dump/Actions/LogService.ClearLog',
)
.then(() => {
commit('setAllDumps', []);
@@ -132,7 +132,7 @@
.catch((error) => {
console.log(error);
throw new Error(
- i18n.tc('pageDumps.toast.errorDeleteDump', totalDumpCount)
+ i18n.tc('pageDumps.toast.errorDeleteDump', totalDumpCount),
);
});
},