Skip to content

Commit

Permalink
fix: pass output dir to SfProject
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiand391 committed Jan 9, 2023
1 parent 0306742 commit 67293c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2022, Salesforce.com, Inc.
Copyright (c) 2023, Salesforce.com, Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand Down
2 changes: 1 addition & 1 deletion src/convert/convertContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class NonDecompositionFinalizer extends ConvertTransactionFinalizer<NonDecomposi
}
this.tree = tree;

const packageDirectories = SfProject.getInstance().getPackageDirectories();
const packageDirectories = SfProject.getInstance(defaultDirectory).getPackageDirectories();
const pkgPaths = packageDirectories.map((pkg) => pkg.fullPath);

// nondecomposed metadata types can exist in multiple locations under the same name
Expand Down

0 comments on commit 67293c5

Please sign in to comment.