mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16:26 +00:00
parent
1df7231e5b
commit
ce10293e57
1 changed files with 9 additions and 1 deletions
|
@ -164,7 +164,7 @@ async function getArtifacts(
|
||||||
seconds = Math.round(duration[0] + duration[1] / 1e9);
|
seconds = Math.round(duration[0] + duration[1] / 1e9);
|
||||||
logger.info({ seconds, stdout, stderr }, 'Vendored modules');
|
logger.info({ seconds, stdout, stderr }, 'Vendored modules');
|
||||||
const status = await platform.getRepoStatus();
|
const status = await platform.getRepoStatus();
|
||||||
for (const f of status.modified) {
|
for (const f of status.modified.concat(status.not_added)) {
|
||||||
if (f.startsWith(vendorDir)) {
|
if (f.startsWith(vendorDir)) {
|
||||||
const localModified = upath.join(config.localDir, f);
|
const localModified = upath.join(config.localDir, f);
|
||||||
res.push({
|
res.push({
|
||||||
|
@ -175,6 +175,14 @@ async function getArtifacts(
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
for (const f of status.deleted || []) {
|
||||||
|
res.push({
|
||||||
|
file: {
|
||||||
|
name: '|delete|',
|
||||||
|
contents: f,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
logger.warn(
|
logger.warn(
|
||||||
'Vendor modules found - Renovate administrator should enable gitFs in order to update them'
|
'Vendor modules found - Renovate administrator should enable gitFs in order to update them'
|
||||||
|
|
Loading…
Reference in a new issue