From 44d44ec043177fc13aa2ae9c84716de043bc714f Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 3 May 2020 14:59:35 -0400 Subject: [PATCH] eslint ignore --- src/commands/npm.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/npm.ts b/src/commands/npm.ts index e1a04b8..7cb8c74 100644 --- a/src/commands/npm.ts +++ b/src/commands/npm.ts @@ -34,6 +34,7 @@ export default class NPM extends Command { license = data.license; } 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) { dependencies = Object.keys(data.versions[version].dependencies).join(', '); }