You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (labelsToAdd.isEmpty && labelsToRemove.isEmpty) {
192
183
tryFiles.createFile(workRequest.successFile)
193
184
catch { case_: FileAlreadyExistsException=> }
185
+
} else {
186
+
thrownewAnnexWorkerError(
187
+
1,
188
+
(labelsToRemove.map { depLabel =>
189
+
s"Target '$depLabel' not used, please remove it from the deps.\nYou can use the following buildozer command:\nbuildozer 'remove deps $depLabel' ${workRequest.label}\n"
190
+
} ++ labelsToAdd.map { depLabel =>
191
+
s"Target '$depLabel' is used but isn't explicitly declared, please add it to the deps.\nYou can use the following buildozer command:\nbuildozer 'add deps $depLabel' ${workRequest.label}\n"
0 commit comments