We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d290ec + 44fe598 commit 2b39095Copy full SHA for 2b39095
1 file changed
packages/cli/src/lib/project/PolywrapProject.ts
@@ -283,7 +283,9 @@ export class PolywrapProject extends Project<PolywrapManifest> {
283
284
buildManifest.linked_packages.map(
285
(linkedPackage: { path: string; name: string; filter?: string }) => {
286
- const sourceDir = path.join(rootDir, linkedPackage.path);
+ const sourceDir = path.isAbsolute(linkedPackage.path)
287
+ ? linkedPackage.path
288
+ : path.join(rootDir, linkedPackage.path);
289
const destinationDir = path.join(cacheSubPath, linkedPackage.name);
290
291
// Update the cache
0 commit comments