Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/api/mission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
})),
passwordProtected: Type.Boolean(),
token: Type.Optional(Type.String()), // Only present when mission created
groups: Type.Optional(Type.Union([Type.String(), Type.Array(Type.String())])), // Only present on Mission.get()
groups: Type.Union([Type.String(), Type.Array(Type.String())]),
missionChanges: Type.Optional(Type.Array(Type.Unknown())) // Only present on Mission.get()
});

Expand Down Expand Up @@ -295,7 +295,7 @@
): Promise<Static<typeof Feature.Feature>[]> {
const feats: Static<typeof Feature.Feature>[] = [];

const res: any = xmljs.xml2js(await this.latestCots(name, opts), { compact: true });

Check warning on line 298 in lib/api/mission.ts

View workflow job for this annotation

GitHub Actions / test

Unexpected any. Specify a different type

Check warning on line 298 in lib/api/mission.ts

View workflow job for this annotation

GitHub Actions / test

Unexpected any. Specify a different type

if (!Object.keys(res.events).length) return feats;
if (!res.events.event || (Array.isArray(res.events.event) && !res.events.event.length)) return feats;
Expand Down
41 changes: 10 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading