mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-19 03:57:01 +02:00
chore(v2): fix code style (revert previous changes)
This commit is contained in:
parent
1480a7eb80
commit
1f00d15c74
143 changed files with 457 additions and 458 deletions
|
@ -154,7 +154,7 @@ const excludePath = `${PROJECT_NAME}-${DEPLOYMENT_BRANCH}`;
|
|||
fs.copy(
|
||||
fromPath,
|
||||
toPath,
|
||||
src => {
|
||||
(src) => {
|
||||
if (src.indexOf('.DS_Store') !== -1) {
|
||||
return false;
|
||||
}
|
||||
|
@ -164,7 +164,7 @@ fs.copy(
|
|||
|
||||
return true;
|
||||
},
|
||||
error => {
|
||||
(error) => {
|
||||
if (error) {
|
||||
shell.echo(`Error: Copying build assets failed with error '${error}'`);
|
||||
shell.exit(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue