diff --git a/patches/rules_js_debug_yq.patch b/patches/rules_js_debug_yq.patch deleted file mode 100644 index 3c8b229..0000000 --- a/patches/rules_js_debug_yq.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/npm/private/npm_translate_lock_state.bzl -+++ b/npm/private/npm_translate_lock_state.bzl -@@ -413,6 +413,14 @@ def _yaml_to_json(rctx, yaml_path, is_windows): - if result.return_code: - return None, "failed to parse {} with yq. '{}' exited with {}: \nSTDOUT:\n{}\nSTDERR:\n{}".format(yq_args, yaml_path, result.return_code, result.stdout, result.stderr) - -+ # DEBUG: print yq output diagnostics -+ # buildifier: disable=print -+ print("DEBUG _yaml_to_json: file={}, stdout_len={}, first_200={}".format( -+ yaml_path, -+ len(result.stdout), -+ repr(result.stdout[:200]), -+ )) -+ - # NB: yq will return the string "null" if the yaml file is empty - if result.stdout != "null": - return result.stdout, None