mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-01-24 20:12:15 +01:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user