mirror of
https://github.com/bakhirev/assayo.git
synced 2024-11-16 16:21:41 +00:00
bugfix - if filename contains constructor word, than now it is processed correctly (e.g. node_modules/core-js/library/modules/es6.number.constructor.js)
This commit is contained in:
parent
71cf173cdb
commit
d54f44dd3c
|
@ -27,7 +27,7 @@ export default class FileGripByType {
|
|||
|
||||
if (!key || file?.name?.[0] === '.') return;
|
||||
|
||||
if (!this.statisticByName[key]) {
|
||||
if (!this.statisticByName.hasOwnProperty(key)) {
|
||||
this.statisticByName[key] = this.#getNewType(file);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue