Skip to content

Commit

Permalink
chore: cleanup playground script (#1076)
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Daniel Vilaseca Illnait <[email protected]>
  • Loading branch information
Carlos-err406 and Carlos-err406 authored May 6, 2024
1 parent 790e62f commit 8e23a35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/playground-js/reset.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function deleteSCNArtifacts() {
fs.unlinkSync('./components.json');

// delete './src/lib/components' directory
fs.rmdirSync('./src/lib/components', { recursive: true });
fs.rmSync('./src/lib/components', { recursive: true });

// delete './src/lib/utils.js' file
fs.unlinkSync('./src/lib/utils.js');
Expand Down
2 changes: 1 addition & 1 deletion apps/playground-ts/reset.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function deleteSCNArtifacts() {
fs.unlinkSync("./components.json");

// delete './src/lib/components' directory
fs.rmdirSync("./src/lib/components", { recursive: true });
fs.rmSync("./src/lib/components", { recursive: true });

// delete './src/lib/utils.ts' file
fs.unlinkSync("./src/lib/utils.ts");
Expand Down

0 comments on commit 8e23a35

Please sign in to comment.