Use 0 instead of a string for missing packages

This commit is contained in:
Michael Jackson 2018-09-04 07:39:45 -07:00
parent 29b7725597
commit 311a1ffa7e
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
const cache = require("./cache");
const fetchNpmPackageInfo = require("./fetchNpmPackageInfo");
const notFound = "PackageNotFound";
const notFound = 0;
function getNpmPackageInfo(packageName) {
return new Promise((resolve, reject) => {