Skip to content

Commit

Permalink
fix(travis): massage currentValue to string (#11475)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Aug 30, 2021
1 parent dfef9f3 commit dcfc9d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/manager/travis/__snapshots__/extract.spec.ts.snap
Expand Up @@ -4,13 +4,13 @@ exports[`manager/travis/extract extractPackageFile() returns results 1`] = `
Object {
"deps": Array [
Object {
"currentValue": 6,
"currentValue": "6",
"datasource": "github-tags",
"depName": "node",
"lookupName": "nodejs/node",
},
Object {
"currentValue": 8,
"currentValue": "8",
"datasource": "github-tags",
"depName": "node",
"lookupName": "nodejs/node",
Expand Down
2 changes: 1 addition & 1 deletion lib/manager/travis/extract.ts
Expand Up @@ -19,7 +19,7 @@ export function extractPackageFile(content: string): PackageFile | null {
depName: 'node',
datasource: datasourceGithubTags.id,
lookupName: 'nodejs/node',
currentValue,
currentValue: currentValue.toString(),
}));
}
if (!deps.length) {
Expand Down
2 changes: 1 addition & 1 deletion lib/util/cache/repository/index.ts
Expand Up @@ -9,7 +9,7 @@ import { logger } from '../../../logger';
import type { Cache } from './types';

// 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 cacheFileName: string;
Expand Down

0 comments on commit dcfc9d9

Please sign in to comment.