Skip to content

Commit

Permalink
fix: Fix path passed to del.sync in cleanWorkspace utility
Browse files Browse the repository at this point in the history
  • Loading branch information
svsool committed Aug 8, 2020
1 parent c5a976e commit f60575c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/testUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ export const cleanWorkspace = () => {
const workspaceFolder = utils.getWorkspaceFolder();

if (workspaceFolder) {
del.sync([path.join(workspaceFolder, '{*,.*}'), `!${path.join(workspaceFolder, '.vscode')}`], {
del.sync(['**/!(.vscode)'], {
force: true,
cwd: workspaceFolder,
});
}
};
Expand Down

0 comments on commit f60575c

Please sign in to comment.