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:
parent
fdec650ef2
commit
8dbd2204c3
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue