Skip to content

Commit

Permalink
fix(artifact): remove change as part of #128
Browse files Browse the repository at this point in the history
  • Loading branch information
azlam committed Dec 16, 2024
1 parent 2e138b0 commit 4a32970
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/artifacts/generators/ArtifactGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ export default class ArtifactGenerator {

fs.copySync(sfpPackage.workingDirectory, sourcePackage);
// rimraf.sync(sfpPackage.workingDirectory); // This gives an error in windows "Error: EPERM: operation not permitted, unlink" https://github.com/flxbl-io/sfp/issues/128
rimraf.moveRemoveSync(sfpPackage.workingDirectory);
await fs.remove(sfpPackage.workingDirectory);


//Modify Source Directory to the new source directory inside the artifact
sfpPackage.sourceDir = `source`;
Expand Down

0 comments on commit 4a32970

Please sign in to comment.