eslint ignore
parent
62b4533f57
commit
98c73ca2e9
|
@ -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