This commit is contained in:
peaceiris 2019-09-23 10:15:16 +09:00
parent 1fdd461e72
commit 4f3945160f
10 changed files with 10 additions and 6 deletions

View file

@ -9,10 +9,10 @@ function getOS(platform) {
}
else if (platform === 'win32') {
return 'Windows';
// throw new Error("Windows is not supported");
}
else {
throw new Error(`${platform} is not supported`);
}
}
exports.default = getOS;
//# sourceMappingURL=get-os.js.map