We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cacbbd commit 32b2864Copy full SHA for 32b2864
1 file changed
scripts/copy-helpers.js
@@ -78,7 +78,9 @@ function copyFilesWithBase(sources, baseDir, destRoot) {
78
}
79
const rel = path.relative(baseResolved, path.resolve(srcPath));
80
if (rel.startsWith('..') || path.isAbsolute(rel)) {
81
- throw new Error(`Source ${srcPath} is not under base directory ${baseDir}`);
+ throw new Error(
82
+ `Source ${srcPath} is not under base directory ${baseDir}`,
83
+ );
84
85
const destPath = path.join(destRootResolved, rel);
86
fs.mkdirSync(path.dirname(destPath), {recursive: true});
0 commit comments