get-movie-extra-name
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -61,3 +61,3 @@ const request = require('request'); | ||
for (let i = 0; i < extras.length; i += 1) { | ||
if (Math.abs(extras[i].time - time) >= 1) { | ||
if (Math.abs(extras[i].time - time) <= 1) { | ||
output = extras[i].title; | ||
@@ -64,0 +64,0 @@ break; |
{ | ||
"name": "get-movie-extra-name", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Pass the title of a movie and the length of an extra and get back the title of that extra", | ||
@@ -5,0 +5,0 @@ "main": "./lib/get-movie-extra-name.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package