fix(dev-infra): fix `yarn symbol-extractor` command (#40163)

The `yarn symbol-extractor:check` and `yarn symbol-extractor:update` commands don't seem to work currently -
the script is unable to calculate the list of relevant targets. Running the `bazel query ...` command used in the
script fails due to the missing quotes around the query argument. This commit fixes the problem by updating the
script to wrap query argument into single quotes.

PR Close #40163
This commit is contained in:
Andrew Kushnir 2020-12-16 14:51:10 -08:00 committed by Joey Perrott
parent fdec650ef2
commit 8dbd2204c3
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ const ALL_TEST_TARGETS =
'yarn',
[
'-s', 'bazel', 'query', '--output', 'label',
`kind(nodejs_test, ...) intersect attr("tags", "symbol_extractor", ...)`
`'kind(nodejs_test, ...) intersect attr("tags", "symbol_extractor", ...)'`
],
{encoding: 'utf8', shell: true, cwd: path.resolve(__dirname, '../..')})
.stdout.trim()