Remove an unnecessary addInput call in ctx.actions.run().
SpawnAction.Builder.setExecutable adds the executable to the inputs for you.
Closes
@@ -205,7 +205,6 @@ public class SkylarkActionFactory implements SkylarkActionFactoryApi {
buildCommandLine(builder, argumentsList);
if (executableUnchecked instanceof Artifact) {
Artifact executable = (Artifact) executableUnchecked;
- builder.addInput(executable);
FilesToRunProvider provider = context.getExecutableRunfiles(executable);
if (provider == null) {
builder.setExecutable(executable);
