We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6c09c0 commit 68d9373Copy full SHA for 68d9373
lib/services/project-cleanup-service.ts
@@ -27,10 +27,10 @@ export class ProjectCleanupService implements IProjectCleanupService {
27
options?: IProjectCleanupOptions
28
): Promise<IProjectCleanupResult> {
29
this.spinner = this.$terminalSpinnerService.createSpinner({
30
- isSilent: options.silent,
+ isSilent: options?.silent,
31
});
32
33
- let stats = options.stats ? new Map<string, number>() : false;
+ let stats = options?.stats ? new Map<string, number>() : false;
34
35
let success = true;
36
for (const pathToClean of pathsToClean) {
0 commit comments