format & lint

This commit is contained in:
Kiril Videlov 2023-03-13 23:03:32 +01:00
parent 108d903bda
commit 233c39579d
2 changed files with 2 additions and 2 deletions

View File

@ -279,7 +279,7 @@
paletteMode = 'branch';
if ($currentProject) {
listBranches({ projectId: $currentProject.id }).then((refs) => {
let branches = <Object[]>[];
let branches: any[] = [];
refs.forEach((b) => {
branches.push({ text: b, icon: BranchIcon, command: 'switchBranch', context: b });
});

View File

@ -34,7 +34,7 @@ export const listFiles = (params: { projectId: string; sessionId: string; paths?
const list = (params: { projectId: string }) => invoke<Session[]>('list_sessions', params);
export default async (params: { projectId: string, earliestTimestampMs?: number }) => {
export default async (params: { projectId: string; earliestTimestampMs?: number }) => {
const store = writable([] as Session[]);
list(params).then((sessions) => {
store.set(sessions);