@canvacord/assets
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -27,3 +27,3 @@ "use strict"; | ||
for (const file of files) { | ||
const name = (_a = file.split(".").shift()) !== null && _a !== void 0 ? _a : file; | ||
const name = ((_a = file.split(".").shift()) !== null && _a !== void 0 ? _a : file).toUpperCase(); | ||
this.data[name] = `${this.dir}\\${file}`; | ||
@@ -42,3 +42,3 @@ } | ||
set(name, data) { | ||
return this.data[name] = data; | ||
return this.data[name.toUpperCase()] = data; | ||
} | ||
@@ -45,0 +45,0 @@ get size() { |
{ | ||
"name": "@canvacord/assets", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Assets used in Canvacord", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7311280