File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -215,14 +215,14 @@ func main() {
215
215
216
216
// make sure that all the allowed imports are used
217
217
if unused := unusedPackageImports (restriction .AllowedImportPackages , packages ); len (unused ) > 0 {
218
- log .Printf ("-- found unused package imports\n " )
218
+ log .Printf ("-- found unused allowed package imports(remove them) \n " )
219
219
for _ , unusedPackage := range unused {
220
220
log .Printf ("\t %s\n " , unusedPackage )
221
221
}
222
222
failedRestrictionCheck = true
223
223
}
224
224
if unused := unusedPackageImportRoots (restriction .AllowedImportPackageRoots , packages ); len (unused ) > 0 {
225
- log .Printf ("-- found unused package import roots\n " )
225
+ log .Printf ("-- found unused allowed package import roots(remove them) \n " )
226
226
for _ , unusedPackage := range unused {
227
227
log .Printf ("\t %s\n " , unusedPackage )
228
228
}
You can’t perform that action at this time.
0 commit comments