Skip to content

Enhancement teams cache remove: detect if the Teams cache folder exists #3449

@Jwaegebaert

Description

@Jwaegebaert

Enhancement originates from


With running the command teams cache remove, we remove the Teams caching folder.

switch (platform) {
case 'win32':
cmd = 'cd %userprofile% && rmdir /s /q AppData\\Roaming\\Microsoft\\Teams';
break;
case 'darwin':
cmd = 'rm -r ~/Library/Application\\ Support/Microsoft/Teams';
break;
}

The idea here would be to first check if the folder exists before we remove it.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions