Skip to content

Commit 6e66ea9

Browse files
committed
Fix error message to say 'copy path' instead of 'copy folders'
1 parent da713b0 commit 6e66ea9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/build-copy/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export async function buildCopy (_src, dest, _siteData, opts) {
6060
// @ts-expect-error
6161
const copyGlob = copyGlobs[index]
6262
if (result.status === 'rejected') {
63-
const buildError = new Error('Error copying copy folders', { cause: result.reason })
63+
const buildError = new Error(`Error copying copy path: ${copyGlob}`, { cause: result.reason })
6464
results.errors.push(buildError)
6565
} else {
6666
results.report[copyGlob] = result.value

0 commit comments

Comments
 (0)