MCPcopy Create free account
hub / github.com/ThatGuySam/doesitarm / parseStatus

Function parseStatus

helpers/build-game-list.js:62–69  ·  view source on GitHub ↗
(game)

Source from the content-addressed store, hash-verified

60
61
62function parseStatus(game) {
63 if (isUnknown(game)) return 'unreported'
64
65 if (isPlayable(game) === false) return 'no'
66
67 // Match status to Sheet Status
68 return statusesTranslations[environmentName(game)]
69}
70
71function parseCsvRows ( csv ) {
72 const rows = []

Callers 1

build-game-list.jsFile · 0.85

Calls 3

isUnknownFunction · 0.85
isPlayableFunction · 0.85
environmentNameFunction · 0.85

Tested by

no test coverage detected