mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26:26 +00:00
fix(travis): massage currentValue to string (#11475)
This commit is contained in:
parent
dfef9f3cb1
commit
dcfc9d9885
3 changed files with 4 additions and 4 deletions
|
@ -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",
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
2
lib/util/cache/repository/index.ts
vendored
2
lib/util/cache/repository/index.ts
vendored
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue