Skip to content

Commit

Permalink
fix(core): fix build error message
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevwonder committed Jun 30, 2023
1 parent b08a976 commit d86ac5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default class CleanWebpackPlugin {
fs.statSync(this.outputPath).isFile()
) {
throw new Error(
`Output file ${this.outputPath} already exists. Docusaurus needs this directory to save the build output. Either remove/change the file or choose a different build directory via '--out-dir'.`,
`A file '${this.outputPath}' already exists. Docusaurus needs this directory to save the build output. Either remove/change the file or choose a different build directory via '--out-dir'.`,
);
}

Expand Down

0 comments on commit d86ac5c

Please sign in to comment.