Commit 59c8a2f
authored
refactor(schematics): derive the firebase-tools version message from a shared constant (#3704)
The minimum-version check and its error message were separate string
literals. They drifted once before (the message read "13.0.0+" while the
check required 14.0.0). A single minFirebaseToolsVersion constant, with the
message built from it, keeps the two in sync.1 parent 45f138d commit 59c8a2f
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
47 | | - | |
48 | | - | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| |||
0 commit comments