style: improve codestyle for lua map file (#75)
* Remove spaces around key. * Add indent for each entry.
This commit is contained in:
2
build.js
2
build.js
@ -53,7 +53,7 @@ ${iconMap
|
|||||||
.split("|")
|
.split("|")
|
||||||
// remove all * in mappings
|
// remove all * in mappings
|
||||||
.map((app) => app.replace("*", ""))
|
.map((app) => app.replace("*", ""))
|
||||||
.map((app) => `[${app}] = "${iconName}",`)
|
.map((app) => `\t[${app.trim()}] = "${iconName}",`)
|
||||||
.join("\n"),
|
.join("\n"),
|
||||||
)
|
)
|
||||||
.join("\n")}
|
.join("\n")}
|
||||||
|
Reference in New Issue
Block a user