From 042f9a6cdd021986618e835cbf78ac7a91abd5ed Mon Sep 17 00:00:00 2001 From: Azlam <43767972+azlam-abdulsalam@users.noreply.github.com> Date: Wed, 24 Nov 2021 19:58:44 +1100 Subject: [PATCH] fix(forceignore): create Packages not writing the proper forceignore files (#769) Multiple ForceIgnore Files are not being applied correctly during package creation, resulting in root forceignore file being applied for source packages during deployment --- packages/core/src/package/packageCreators/CreatePackage.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/core/src/package/packageCreators/CreatePackage.ts b/packages/core/src/package/packageCreators/CreatePackage.ts index b3de65710..6a3a7c49e 100644 --- a/packages/core/src/package/packageCreators/CreatePackage.ts +++ b/packages/core/src/package/packageCreators/CreatePackage.ts @@ -145,12 +145,15 @@ export abstract class CreatePackage { } private generateArtifact(packageDirectory: string) { + //Get Artifact Detailes let sourcePackageArtifactDir = SourcePackageGenerator.generateSourcePackageArtifact( this.logger, this.projectDirectory, this.sfdx_package, packageDirectory, + this.packageDescriptor.destructiveChangePath, + null, this.pathToReplacementForceIgnore );