mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
fix(bundler): compatibility true
This commit is contained in:
parent
33b3308df6
commit
625fa4744f
1 changed files with 7 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
const URL = require('url');
|
const URL = require('url');
|
||||||
const got = require('got');
|
const got = require('got');
|
||||||
const { satisfies } = require('@snyk/ruby-semver');
|
// TODO: const { satisfies } = require('@snyk/ruby-semver');
|
||||||
const { maskToken } = require('../../util/mask');
|
const { maskToken } = require('../../util/mask');
|
||||||
const hostRules = require('../../util/host-rules');
|
const hostRules = require('../../util/host-rules');
|
||||||
const retriable = require('./retriable');
|
const retriable = require('./retriable');
|
||||||
|
@ -40,8 +40,12 @@ const getHeaders = url => {
|
||||||
return token ? { Authorization: token } : {};
|
return token ? { Authorization: token } : {};
|
||||||
};
|
};
|
||||||
|
|
||||||
const isCompatible = ({ ruby }, { rubyVersion }) =>
|
const isCompatible = ({ ruby }, { rubyVersion }) => {
|
||||||
!ruby ? true : satisfies(ruby, rubyVersion);
|
logger.trace({ ruby, rubyVersion }, 'TODO');
|
||||||
|
// These could both be ranges..
|
||||||
|
// return !ruby ? true : satisfies(ruby, rubyVersion);
|
||||||
|
return true;
|
||||||
|
};
|
||||||
|
|
||||||
const fetch = async ({ dependency, registry, path }) => {
|
const fetch = async ({ dependency, registry, path }) => {
|
||||||
const json = true;
|
const json = true;
|
||||||
|
|
Loading…
Reference in a new issue