mirror of
https://github.com/dfpc-coe/CloudTAK.git
synced 2025-12-22 05:37:16 +00:00
Update api/lib/initialization.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -65,8 +65,9 @@ export default class Bulldozer {
|
||||
continue;
|
||||
}
|
||||
|
||||
const name = path.parse(file).name;
|
||||
const format = path.parse(file).ext.toLowerCase();
|
||||
const parsed = path.parse(file);
|
||||
const name = parsed.name;
|
||||
const format = parsed.ext.toLowerCase();
|
||||
|
||||
this.config.models.Icon.generate({
|
||||
iconset: iconset.uid,
|
||||
|
||||
Reference in New Issue
Block a user