-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit 8e1ec35
Use globbing for extension mapping in formatting script
The repository includes a script that formats the example sketch code. This uses a `find` command to recurse through the
example folders and run the formatter on each file with a relevant extension.
Previously a regular expression was used for that matching. Although perfectly functional, the same can be achieved in
an easier to understand and maintain manner using globs.1 parent 639da94 commit 8e1ec35
1 file changed
+6
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 | - | ||
5 | - | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
6 | 10 |
| |
7 | 11 |
| |
8 | 12 |
| |
|
0 commit comments