Commit 6f715e1
committed
gnd: Fix mapping file path and kebab-case conversion in scaffold
- Add ./src/ prefix to mapping file path in generated manifest (I7)
The manifest referenced ./simple-contract.ts but the file was
created at ./src/simple-contract.ts
- Replace buggy custom to_kebab_case with Inflector (A3)
Custom implementation incorrectly converted ERC20 -> e-r-c20
Inflector correctly produces erc20 (keeps acronyms together)1 parent 3fff250 commit 6f715e1
2 files changed
Lines changed: 9 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
230 | 231 | | |
231 | 232 | | |
232 | 233 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
246 | 237 | | |
247 | 238 | | |
248 | 239 | | |
| |||
251 | 242 | | |
252 | 243 | | |
253 | 244 | | |
| 245 | + | |
254 | 246 | | |
255 | | - | |
| 247 | + | |
256 | 248 | | |
257 | | - | |
| 249 | + | |
| 250 | + | |
258 | 251 | | |
259 | 252 | | |
260 | 253 | | |
| |||
0 commit comments