Merge "Do not append .meta_lic to meta_lic" am: 9d83209f12
Original change: https://android-review.googlesource.com/c/platform/build/+/1944764 Change-Id: I4d33690c7addc7cca8ff01772cab94a49d2d1e53
This commit is contained in:
@@ -80,7 +80,7 @@ func ReadLicenseGraph(rootFS fs.FS, stderr io.Writer, files []string) (*LicenseG
|
|||||||
|
|
||||||
lg := newLicenseGraph()
|
lg := newLicenseGraph()
|
||||||
for _, f := range files {
|
for _, f := range files {
|
||||||
if strings.HasSuffix(f, ".meta_lic") {
|
if strings.HasSuffix(f, "meta_lic") {
|
||||||
lg.rootFiles = append(lg.rootFiles, f)
|
lg.rootFiles = append(lg.rootFiles, f)
|
||||||
} else {
|
} else {
|
||||||
lg.rootFiles = append(lg.rootFiles, f+".meta_lic")
|
lg.rootFiles = append(lg.rootFiles, f+".meta_lic")
|
||||||
|
Reference in New Issue
Block a user