mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-28 15:37:49 +02:00
chore(v2): Fix a lot of eslint warnings (#2972)
This commit is contained in:
parent
4aa77651d3
commit
3611c96f90
46 changed files with 145 additions and 130 deletions
|
@ -19,7 +19,7 @@ export function docsVersion(
|
|||
version: string | null | undefined,
|
||||
siteDir: string,
|
||||
options: PathOptions,
|
||||
) {
|
||||
): void {
|
||||
if (!version) {
|
||||
throw new Error(
|
||||
'No version tag specified!. Pass the version you wish to create as an argument. Ex: 1.0.0',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue