fix(gradle): Provide correct packageFile for plugin versions extracted from template (#13854)

Co-authored-by: Rhys Arkins <rhys@arkins.net>
This commit is contained in:
Sergei Zharinov 2022-01-27 17:22:37 +03:00 committed by GitHub
parent ddd7fc58e0
commit 8787e02e88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -245,7 +245,10 @@ function processPlugin({
const currentValue = varData.value;
const fileReplacePosition = varData.fileReplacePosition;
dep.currentValue = currentValue;
dep.managerData = { fileReplacePosition, packageFile };
dep.managerData = {
fileReplacePosition,
packageFile: varData.packageFile,
};
} else {
const currentValue = child.value;
const fileReplacePosition = child.offset;