mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 19:03:38 +02:00
Reduce init script verbosity. (#239)
This commit is contained in:
parent
70bd56eb93
commit
ff5f6b578d
2 changed files with 72 additions and 73 deletions
|
@ -20,6 +20,9 @@ if (shell.which("yarn")) {
|
|||
|
||||
if (fs.existsSync(CWD + "/website")) {
|
||||
console.error(chalk.yellow("Website folder already exists.\n"));
|
||||
console.log(
|
||||
"In order for Docusaurus to get set up as your static site generator, you will need to remove any existing 'website' folder from your root directory. If you are migrating from another static site generator, you may want to move your old website folder to a different location."
|
||||
);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue