Skip to content

Commit b5690a5

Browse files
shetzelmshanemc
andauthored
fix: use absolute paths in ComponentSet for matching local source (#153)
* fix: use absolute paths in ComponentSet for matching local source * refactor: use already resolved fullPath Co-authored-by: mshanemc <shane.mclaughlin@salesforce.com>
1 parent 26cde9c commit b5690a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sourceTracking.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ export class SourceTracking extends AsyncCreatable {
299299
}))
300300
);
301301
const matchingLocalSourceComponentsSet = ComponentSet.fromSource({
302-
fsPaths: this.packagesDirs.map((dir) => dir.path),
302+
fsPaths: this.packagesDirs.map((dir) => resolve(dir.fullPath)),
303303
include: remoteChangesAsComponentSet,
304304
});
305305
if (options.format === 'string') {

0 commit comments

Comments
 (0)