Commit 38ec62d
Don't mutate argument to loadConfig
Summary:
Changelog: **[Fix]**: `metro-config`: Don't mutate argument to `loadConfig`.
This enables some improvements to type safety in how we define Metro's core CLI commands (coming up in a separate diff).
Reviewed By: jacdebug
Differential Revision: D43774991
fbshipit-source-id: 3f66f287e7d34764c8946a3a84483515dbf5d3761 parent 34c313d commit 38ec62d
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
| 262 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| |||
0 commit comments