Skip to content

Commit

Permalink
fixed bugs in plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyash-x committed Apr 13, 2023
1 parent 5e1abdc commit 359a267
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ class Plugin {
// exp_info.src
// )}" --exclude=.git`
// );
shell.cp("-r", path.resolve("./plugins"), Config.build_path(exp_info.src));
// remove .git folder from all folders in plugins
shell.rm("-rf", path.resolve("./plugins", "**", ".git"));
shell.rm("-rf", path.resolve("./plugins", "**", ".git/"));
shell.cp("-r", path.resolve("./plugins"), Config.build_path(exp_info.src));
return plugins;
}

Expand Down

0 comments on commit 359a267

Please sign in to comment.