Skip to content

Commit 630bbaf

Browse files
committed
Deploy Production Code for Commit 386cc30 🚀
1 parent 386cc30 commit 630bbaf

File tree

670 files changed

+203179
-417174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

670 files changed

+203179
-417174
lines changed

lib/execute.d.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/// <reference types="node" />
21
type ExecuteOutput = {
32
stdout: string;
43
stderr: string;

lib/execute.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1212
return (mod && mod.__esModule) ? mod : { "default": mod };
1313
};
1414
Object.defineProperty(exports, "__esModule", { value: true });
15-
exports.stderr = exports.stdout = exports.execute = void 0;
15+
exports.execute = execute;
16+
exports.stdout = stdout;
17+
exports.stderr = stderr;
1618
const exec_1 = require("@actions/exec");
1719
const buffer_1 = __importDefault(require("buffer"));
1820
const output = { stdout: '', stderr: '' };
@@ -39,20 +41,17 @@ function execute(cmd_1, cwd_1, silent_1) {
3941
return Promise.resolve(output);
4042
});
4143
}
42-
exports.execute = execute;
4344
function stdout(data) {
4445
const dataString = data.toString().trim();
4546
if (output.stdout.length + dataString.length <
4647
buffer_1.default.constants.MAX_STRING_LENGTH) {
4748
output.stdout += dataString;
4849
}
4950
}
50-
exports.stdout = stdout;
5151
function stderr(data) {
5252
const dataString = data.toString().trim();
5353
if (output.stderr.length + dataString.length <
5454
buffer_1.default.constants.MAX_STRING_LENGTH) {
5555
output.stderr += dataString;
5656
}
5757
}
58-
exports.stderr = stderr;

lib/git.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1212
return (mod && mod.__esModule) ? mod : { "default": mod };
1313
};
1414
Object.defineProperty(exports, "__esModule", { value: true });
15-
exports.deploy = exports.init = void 0;
15+
exports.init = init;
16+
exports.deploy = deploy;
1617
const core_1 = require("@actions/core");
1718
const io_1 = require("@actions/io");
1819
const fs_1 = __importDefault(require("fs"));
@@ -68,7 +69,6 @@ function init(action) {
6869
}
6970
});
7071
}
71-
exports.init = init;
7272
/**
7373
* Runs the necessary steps to make the deployment.
7474
*/
@@ -215,4 +215,3 @@ function deploy(action) {
215215
}
216216
});
217217
}
218-
exports.deploy = deploy;

lib/lib.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
99
});
1010
};
1111
Object.defineProperty(exports, "__esModule", { value: true });
12+
exports.default = run;
1213
const core_1 = require("@actions/core");
1314
const constants_1 = require("./constants");
1415
const git_1 = require("./git");
@@ -84,4 +85,3 @@ function run(configuration) {
8485
}
8586
});
8687
}
87-
exports.default = run;

lib/ssh.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
99
});
1010
};
1111
Object.defineProperty(exports, "__esModule", { value: true });
12-
exports.configureSSH = void 0;
12+
exports.configureSSH = configureSSH;
1313
const core_1 = require("@actions/core");
1414
const io_1 = require("@actions/io");
1515
const child_process_1 = require("child_process");
@@ -54,4 +54,3 @@ function configureSSH(action) {
5454
}
5555
});
5656
}
57-
exports.configureSSH = configureSSH;

lib/util.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ActionInterface } from './constants';
33
* Utility function that checks to see if a value is undefined or not.
44
* If allowEmptyString is passed the parameter is allowed to contain an empty string as a valid parameter.
55
*/
6-
export declare const isNullOrUndefined: (value: unknown) => value is "" | null | undefined;
6+
export declare const isNullOrUndefined: (value: unknown) => value is undefined | null | "";
77
/**
88
* Generates a token type used for the action.
99
*/

lib/worktree.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
99
});
1010
};
1111
Object.defineProperty(exports, "__esModule", { value: true });
12-
exports.generateWorktree = exports.GitCheckout = void 0;
12+
exports.GitCheckout = void 0;
13+
exports.generateWorktree = generateWorktree;
1314
const core_1 = require("@actions/core");
1415
const execute_1 = require("./execute");
1516
const util_1 = require("./util");
@@ -97,4 +98,3 @@ function generateWorktree(action, worktreedir, branchExists) {
9798
}
9899
});
99100
}
100-
exports.generateWorktree = generateWorktree;

0 commit comments

Comments
 (0)