ic-mops 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commands/publish.js +1 -1
- package/package.json +1 -1
package/commands/publish.js
CHANGED
|
@@ -165,7 +165,7 @@ export async function publish() {
|
|
|
165
165
|
|
|
166
166
|
// check allowed exts
|
|
167
167
|
for (let file of files) {
|
|
168
|
-
if (!minimatch(file, '**/*.{mo,did,md,toml}')) {
|
|
168
|
+
if (!minimatch(file, '**/*.{mo,did,md,toml}') && !file.toLowerCase().endsWith('license')) {
|
|
169
169
|
console.log(chalk.red('Error: ') + `file ${file} has unsupported extension. Allowed: .mo, .did, .md, .toml`);
|
|
170
170
|
return;
|
|
171
171
|
}
|