(platformInfo: PlatformInformation)
| 901 | } |
| 902 | |
| 903 | export function checkDistro(platformInfo: PlatformInformation): void { |
| 904 | if (platformInfo.platform !== 'win32' && platformInfo.platform !== 'linux' && platformInfo.platform !== 'darwin') { |
| 905 | // this should never happen because VSCode doesn't run on FreeBSD |
| 906 | // or SunOS (the other platforms supported by node) |
| 907 | getOutputChannelLogger().appendLine(localize("warning.debugging.not.tested", "Warning: Debugging has not been tested for this platform.") + " " + getReadmeMessage()); |
| 908 | } |
| 909 | } |
| 910 | |
| 911 | export async function unlinkAsync(fileName: string): Promise<void> { |
| 912 | return new Promise<void>((resolve, reject) => { |
nothing calls this directly
no test coverage detected