Skip to content

Commit 32b2864

Browse files
committed
chore: format
1 parent 2cacbbd commit 32b2864

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/copy-helpers.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ function copyFilesWithBase(sources, baseDir, destRoot) {
7878
}
7979
const rel = path.relative(baseResolved, path.resolve(srcPath));
8080
if (rel.startsWith('..') || path.isAbsolute(rel)) {
81-
throw new Error(`Source ${srcPath} is not under base directory ${baseDir}`);
81+
throw new Error(
82+
`Source ${srcPath} is not under base directory ${baseDir}`,
83+
);
8284
}
8385
const destPath = path.join(destRootResolved, rel);
8486
fs.mkdirSync(path.dirname(destPath), {recursive: true});

0 commit comments

Comments
 (0)