mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-01-25 12:22:17 +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:
@@ -23,11 +23,9 @@ const core = __importStar(require("@actions/core"));
|
||||
const exec = __importStar(require("@actions/exec"));
|
||||
const get_latest_version_1 = __importDefault(require("./get-latest-version"));
|
||||
const installer_1 = __importDefault(require("./installer"));
|
||||
// most @actions toolkit packages have async methods
|
||||
function run() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const dump = () => __awaiter(this, void 0, void 0, function* () {
|
||||
// Show version
|
||||
yield exec.exec('hugo version');
|
||||
});
|
||||
try {
|
||||
@@ -55,3 +53,4 @@ function run() {
|
||||
});
|
||||
}
|
||||
run();
|
||||
//# sourceMappingURL=index.js.map
|
||||
Reference in New Issue
Block a user