feat(fs.lab): Handle mode switching
This commit is contained in:
parent
825ca14189
commit
f577f054ef
2 changed files with 6 additions and 3 deletions
|
@ -21,8 +21,10 @@ const defaultGist = (pattern, language='en') => ({
|
|||
|
||||
const hasRequiredMeasurements = (pattern, gist) => {
|
||||
for (const m of pattern.config.measurements) {
|
||||
//console.log(m)
|
||||
if (!gist?.measurements?.[m]) return false
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue