fix(v2): remove unnecessary backtick in output (#3839)

* fix(v2): remove unnecessary backtick in output

The escaped backtick seems to be present for no clear reason.
As a matter of fact, it seems to be cluttering the output.

So, remove the unnecessary backtick in the output.

* update snapshot

Co-authored-by: slorber <lorber.sebastien@gmail.com>
This commit is contained in:
Kaartic Sivaraam 2020-11-30 21:37:59 +05:30 committed by GitHub
parent 764d1fd191
commit cf5644d67a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -574,7 +574,7 @@ Array [
exports[`site with wrong sidebar file 1`] = ` exports[`site with wrong sidebar file 1`] = `
"Bad sidebars file. "Bad sidebars file.
These sidebar document ids do not exist: These sidebar document ids do not exist:
- goku\`, - goku,
Available document ids= Available document ids=
- foo/bar - foo/bar

View file

@ -319,7 +319,7 @@ export function createSidebarsUtils(
throw new Error( throw new Error(
`Bad sidebars file. `Bad sidebars file.
These sidebar document ids do not exist: These sidebar document ids do not exist:
- ${invalidSidebarDocIds.sort().join('\n- ')}\`, - ${invalidSidebarDocIds.sort().join('\n- ')},
Available document ids= Available document ids=
- ${validDocIds.sort().join('\n- ')}`, - ${validDocIds.sort().join('\n- ')}`,