Skip to content

Commit b574b86

Browse files
committed
fix(copy): improve error msg with effective config attributes name
credits to @peterpeterparker
1 parent a032c0c commit b574b86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/copy/local-copy-tasks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export function getDestAbsPath(config: d.Config, src: string, destAbsPath: strin
9393
}
9494

9595
if (config.sys.path.isAbsolute(src)) {
96-
throw new Error(`copy task, "to" property must exist if "from" property is an absolute path: ${src}`);
96+
throw new Error(`copy task, "dest" property must exist if "src" property is an absolute path: ${src}`);
9797
}
9898

9999
return config.sys.path.join(destAbsPath, src);

0 commit comments

Comments
 (0)