fix: Lint error

This commit is contained in:
1ambda 2017-02-16 13:41:01 +09:00
parent 33a2bd8f8b
commit e6d5181e7d

View file

@ -224,8 +224,8 @@ export default function heliumService($http, $sce, baseUrlSrv) {
let pkgArtifact = pkg.artifact;
if (!pkgName || !pkgVersion || !pkgArtifact) {
console.error(`Failed to fetch config for \n`, pkg);
return;
console.error('Failed to fetch config for\n', pkg);
return Promise.resolve([]);
}
const promisedPkgSearchResult = this.getSinglePackageInfo(pkgName, pkgVersion);