eslint ignore
parent
6d0a1fa357
commit
44d44ec043
|
@ -34,6 +34,7 @@ export default class NPM extends Command {
|
||||||
license = data.license;
|
license = data.license;
|
||||||
}
|
}
|
||||||
let dependencies: string = 'None';
|
let dependencies: string = 'None';
|
||||||
|
// eslint-disable-next-line no-prototype-builtins
|
||||||
if (version !== 'Unknown' && data.versions[version].hasOwnProperty('dependencies') && Object.keys(data.versions[version].dependencies).length > 0) {
|
if (version !== 'Unknown' && data.versions[version].hasOwnProperty('dependencies') && Object.keys(data.versions[version].dependencies).length > 0) {
|
||||||
dependencies = Object.keys(data.versions[version].dependencies).join(', ');
|
dependencies = Object.keys(data.versions[version].dependencies).join(', ');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue