We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58cabb7 commit 94889d1Copy full SHA for 94889d1
src/platform.ts
@@ -124,6 +124,9 @@ export class PlatformInformation {
124
architecturePromise = PlatformInformation.GetUnixArchitecture();
125
distributionPromise = LinuxDistribution.GetCurrent();
126
break;
127
+
128
+ default:
129
+ throw new Error(`Unsupported operating system: ${os.platform()}`);
130
}
131
132
return Promise.all([architecturePromise, distributionPromise])
0 commit comments