From 0adcfeeae1e4c6b3dd07464425fec700baa10456 Mon Sep 17 00:00:00 2001 From: Govind B <100536019+govindpuff@users.noreply.github.com> Date: Fri, 23 May 2025 14:52:08 -0700 Subject: [PATCH] fix warning messages --- nodejs/repositories.bzl | 2 +- nodejs/toolchain.bzl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nodejs/repositories.bzl b/nodejs/repositories.bzl index acda3f2d9b..7d0cfbb76e 100644 --- a/nodejs/repositories.bzl +++ b/nodejs/repositories.bzl @@ -444,7 +444,7 @@ def node_repositories(**kwargs): print("""\ WARNING: node_repositories is deprecated; use nodejs_repositories instead. -If your are not calling node_repositories directly you may need to upgrade to rules_js 2.x to suppress this warning. +If you are not calling node_repositories directly you may need to upgrade to rules_js 2.x to suppress this warning. """) nodejs_repositories(**kwargs) diff --git a/nodejs/toolchain.bzl b/nodejs/toolchain.bzl index 20e2c455f9..6163d10999 100644 --- a/nodejs/toolchain.bzl +++ b/nodejs/toolchain.bzl @@ -216,7 +216,7 @@ def nodejs_toolchain( print("""\ WARNING: target_tool attribute of nodejs_toolchain is deprecated; use node instead of target_tool. -If your are not calling nodejs_toolchain directly you may need to upgrade to rules_js 2.x to suppress this warning. +If you are not calling nodejs_toolchain directly you may need to upgrade to rules_js 2.x to suppress this warning. """) node = target_tool @@ -258,6 +258,6 @@ def node_toolchain(**kwargs): print("""\ WARNING: node_toolchain is deprecated; use nodejs_toolchain instead. -If your are not calling node_toolchain directly you may need to upgrade to rules_js 2.x to suppress this warning. +If you are not calling node_toolchain directly you may need to upgrade to rules_js 2.x to suppress this warning. """) nodejs_toolchain(**kwargs)