MCPcopy
hub / github.com/microfeed/microfeed / flattenVars

Method flattenVars

ops/lib/utils.js:17–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 }
16
17 flattenVars() {
18 const varDict = {};
19 const keys = Object.keys(this.data).filter((k) => !['production', 'preview', 'development'].includes(k))
20 keys.forEach((k) => {
21 varDict[k] = this.get(k, '');
22 });
23 return varDict;
24 }
25}
26
27class WranglerCmd {

Callers 1

Calls 1

getMethod · 0.95

Tested by

no test coverage detected