From 6e4da14a0ef7193c891324678888ea05e9fc874f Mon Sep 17 00:00:00 2001 From: Laurent Le Brun Date: Thu, 23 May 2019 19:29:41 +0200 Subject: [PATCH] Update code for Bazel change --incompatible_new_actions_api --- go/private/skylib/lib/unittest.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/private/skylib/lib/unittest.bzl b/go/private/skylib/lib/unittest.bzl index 9ab2857657..0862130f5d 100644 --- a/go/private/skylib/lib/unittest.bzl +++ b/go/private/skylib/lib/unittest.bzl @@ -166,10 +166,10 @@ def _end(env): "EOF", "exit %d" % len(env.failures), ]) - env.ctx.file_action( + env.ctx.actions.write( output = env.ctx.outputs.executable, content = cmd, - executable = True, + is_executable = True, ) def _fail(env, msg):