function hasRootBuildFile(pkg, rootPath) {
        for (const file of pkg._files) {
            // Bazel files would have been renamed earlier with a `_` prefix
            const fileUc = path.relative(rootPath, file).toUpperCase();
            if (fileUc === '_BUILD' || fileUc === '_BUILD.BAZEL') {
                return true;
            }
        }
        return false;
    }
/**
     * Returns true if the npm package distribution contained a
     * root /BUILD or /BUILD.bazel file.
     */
Returns true if the npm package distribution contained a
root /BUILD or /BUILD.bazel file.
Returns true if the npm package distribution contained a root / BUILD or / BUILD . bazel file .
function hasRootBuildFile(pkg, rootPath) {
        for (const file of pkg._files) {
            const fileUc = path.relative(rootPath, file).toUpperCase();
            if (fileUc === '_BUILD' || fileUc === '_BUILD.BAZEL') {
                return true;
            }
        }
        return false;
    }
function hasRootBuildFile ( pkg , rootPath ) { for ( const file of pkg . _files ) { const fileUc = path . relative ( rootPath , file ) . toUpperCase ( ) ; if ( fileUc === '_BUILD' || fileUc === '_BUILD.BAZEL' ) { return true ; } } return false ; }
Returns true if the npm package distribution contained a
 root /BUILD or /BUILD.bazel file.
Returns true if the npm package distribution contained a root / BUILD or / BUILD . bazel file .
// Bazel files would have been renamed earlier with a `_` prefix