Run ncc
This commit is contained in:
parent
a5d2cec8b8
commit
c8c7069f37
1 changed files with 3 additions and 3 deletions
|
|
@ -1907,7 +1907,7 @@ const get_latest_version_1 = __importDefault(__webpack_require__(307));
|
|||
const installer_1 = __importDefault(__webpack_require__(923));
|
||||
function run() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const dump = () => __awaiter(this, void 0, void 0, function* () {
|
||||
const showVersion = () => __awaiter(this, void 0, void 0, function* () {
|
||||
yield exec.exec('hugo version');
|
||||
});
|
||||
try {
|
||||
|
|
@ -1917,7 +1917,7 @@ function run() {
|
|||
return __awaiter(this, void 0, void 0, function* () {
|
||||
console.log(`Hugo version: ${latestVersion} (${hugoVersion})`);
|
||||
yield installer_1.default(latestVersion);
|
||||
yield dump();
|
||||
yield showVersion();
|
||||
});
|
||||
}, function (error) {
|
||||
core.setFailed(error);
|
||||
|
|
@ -1926,7 +1926,7 @@ function run() {
|
|||
else {
|
||||
console.log(`Hugo version: ${hugoVersion}`);
|
||||
yield installer_1.default(hugoVersion);
|
||||
yield dump();
|
||||
yield showVersion();
|
||||
}
|
||||
}
|
||||
catch (error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue