Skip to content

Commit

Permalink
Revert "chore: Remove target files when cloning solana examples"
Browse files Browse the repository at this point in the history
This reverts commit c029509.
  • Loading branch information
janjakubnanista committed Aug 12, 2024
1 parent dfb349c commit ca7d2af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/create-lz-oapp/src/utilities/cloning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const cloneExample = async ({ example, destination }: Config) => {
}

// List of files to be removed after the cloning is done
const IGNORED_FILES = ['CHANGELOG.md', 'turbo.json', 'target/deploy']
const IGNORED_FILES = ['CHANGELOG.md', 'turbo.json']

/**
* Helper utility that removes the files we don't want to include in the final project
Expand All @@ -90,7 +90,7 @@ const cleanupExample = async (destination: string) => {
const filePath = resolve(destination, fileName)

try {
await rm(filePath, { force: true, recursive: true })
await rm(filePath, { force: true })
} catch {
// If the cleanup fails let's just do nothing for now
}
Expand Down

0 comments on commit ca7d2af

Please sign in to comment.