From 3fc840038b4998caa46ea6363929195226a3554d Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Fri, 10 May 2019 23:40:35 -0700 Subject: [PATCH] Typo --- internal/npm_install/generate_build_file.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/npm_install/generate_build_file.js b/internal/npm_install/generate_build_file.js index f4fb451e52..5588d57f1e 100644 --- a/internal/npm_install/generate_build_file.js +++ b/internal/npm_install/generate_build_file.js @@ -482,9 +482,9 @@ function listFiles(rootDir, subDir = '') { */ function hasRootBuildFile(pkg) { for (const file of pkg._files) { - // Bazel files would have been renamed earlier with a _ prefix + // Bazel files would have been renamed earlier with a `_` prefix const fileUc = file.toUpperCase(); - if (fileUc === '_BUILD' || fileUc === '_BUILD.bazel') { + if (fileUc === '_BUILD' || fileUc === '_BUILD.BAZEL') { return true; } }