fix(travis): massage currentValue to string (#11475)

This commit is contained in:
Rhys Arkins 2021-08-30 11:08:48 +02:00 committed by GitHub
parent dfef9f3cb1
commit dcfc9d9885
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -4,13 +4,13 @@ exports[`manager/travis/extract extractPackageFile() returns results 1`] = `
Object { Object {
"deps": Array [ "deps": Array [
Object { Object {
"currentValue": 6, "currentValue": "6",
"datasource": "github-tags", "datasource": "github-tags",
"depName": "node", "depName": "node",
"lookupName": "nodejs/node", "lookupName": "nodejs/node",
}, },
Object { Object {
"currentValue": 8, "currentValue": "8",
"datasource": "github-tags", "datasource": "github-tags",
"depName": "node", "depName": "node",
"lookupName": "nodejs/node", "lookupName": "nodejs/node",

View file

@ -19,7 +19,7 @@ export function extractPackageFile(content: string): PackageFile | null {
depName: 'node', depName: 'node',
datasource: datasourceGithubTags.id, datasource: datasourceGithubTags.id,
lookupName: 'nodejs/node', lookupName: 'nodejs/node',
currentValue, currentValue: currentValue.toString(),
})); }));
} }
if (!deps.length) { if (!deps.length) {

View file

@ -9,7 +9,7 @@ import { logger } from '../../../logger';
import type { Cache } from './types'; import type { Cache } from './types';
// Increment this whenever there could be incompatibilities between old and new cache structure // Increment this whenever there could be incompatibilities between old and new cache structure
export const CACHE_REVISION = 8; export const CACHE_REVISION = 9;
let repositoryCache: RepositoryCacheConfig = 'disabled'; let repositoryCache: RepositoryCacheConfig = 'disabled';
let cacheFileName: string; let cacheFileName: string;