config: enhance tsconfig.json (#44)
* config: enhance tsconfig.json (Set sourceMap and removeComments to true) * gha: Add pull_request trigger, close #43 * config: Add waring emoji
This commit is contained in:
parent
71663ea875
commit
a6d33f08ac
13 changed files with 14 additions and 9 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue