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/SecurityAndAccess/SessionsStore.js b/src/store/modules/SecurityAndAccess/SessionsStore.js
index 0349c8b..e567c52 100644
--- a/src/store/modules/SecurityAndAccess/SessionsStore.js
+++ b/src/store/modules/SecurityAndAccess/SessionsStore.js
@@ -18,10 +18,10 @@
return await api
.get('/redfish/v1/SessionService/Sessions')
.then((response) =>
- response.data.Members.map((sessionLogs) => sessionLogs['@odata.id'])
+ response.data.Members.map((sessionLogs) => sessionLogs['@odata.id']),
)
.then((sessionUris) =>
- api.all(sessionUris.map((sessionUri) => api.get(sessionUri)))
+ api.all(sessionUris.map((sessionUri) => api.get(sessionUri))),
)
.then((sessionUris) => {
const allConnectionsData = sessionUris.map((sessionUri) => {
@@ -46,7 +46,7 @@
api.delete(uri).catch((error) => {
console.log(error);
return error;
- })
+ }),
);
return await api
.all(promises)
@@ -62,7 +62,7 @@
if (successCount) {
const message = i18n.tc(
'pageSessions.toast.successDelete',
- successCount
+ successCount,
);
toastMessages.push({ type: 'success', message });
}
@@ -70,12 +70,12 @@
if (errorCount) {
const message = i18n.tc(
'pageSessions.toast.errorDelete',
- errorCount
+ errorCount,
);
toastMessages.push({ type: 'error', message });
}
return toastMessages;
- })
+ }),
);
},
},