()
| 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 | |
| 27 | class WranglerCmd { |
no test coverage detected