Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/services/project-cleanup-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ export class ProjectCleanupService implements IProjectCleanupService {
options?: IProjectCleanupOptions
): Promise<IProjectCleanupResult> {
this.spinner = this.$terminalSpinnerService.createSpinner({
isSilent: options.silent,
isSilent: options?.silent,
});

let stats = options.stats ? new Map<string, number>() : false;
let stats = options?.stats ? new Map<string, number>() : false;

let success = true;
for (const pathToClean of pathsToClean) {
Expand Down