Skip to content

Commit

Permalink
Deploy Production Code for Commit 1008d18 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Apr 17, 2024
1 parent 1008d18 commit 19d0812
Show file tree
Hide file tree
Showing 4,574 changed files with 1,374,538 additions and 426,945 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 4 additions & 4 deletions lib/constants.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export declare enum TestFlag {
NONE = 0,
HAS_CHANGED_FILES = 2,
HAS_REMOTE_BRANCH = 4,
UNABLE_TO_REMOVE_ORIGIN = 8,
UNABLE_TO_UNSET_GIT_CONFIG = 16,
HAS_CHANGED_FILES = 2,// Assume changes to commit.
HAS_REMOTE_BRANCH = 4,// Assume remote repository has existing commits.
UNABLE_TO_REMOVE_ORIGIN = 8,// Assume we can't remove origin.
UNABLE_TO_UNSET_GIT_CONFIG = 16,// Assume we can't remove previously set git configs.
HAS_REJECTED_COMMIT = 32
}
export interface ActionInterface {
Expand Down
8 changes: 4 additions & 4 deletions lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var TestFlag;
TestFlag[TestFlag["UNABLE_TO_REMOVE_ORIGIN"] = 8] = "UNABLE_TO_REMOVE_ORIGIN";
TestFlag[TestFlag["UNABLE_TO_UNSET_GIT_CONFIG"] = 16] = "UNABLE_TO_UNSET_GIT_CONFIG";
TestFlag[TestFlag["HAS_REJECTED_COMMIT"] = 32] = "HAS_REJECTED_COMMIT"; // Assume commit rejection.
})(TestFlag = exports.TestFlag || (exports.TestFlag = {}));
})(TestFlag || (exports.TestFlag = TestFlag = {}));
/* Required action data that gets initialized when running within the GitHub Actions environment. */
exports.action = {
folder: (0, core_1.getInput)('folder'),
Expand Down Expand Up @@ -102,14 +102,14 @@ var Status;
Status["FAILED"] = "failed";
Status["SKIPPED"] = "skipped";
Status["RUNNING"] = "running";
})(Status = exports.Status || (exports.Status = {}));
})(Status || (exports.Status = Status = {}));
/* Platform codes. */
var OperatingSystems;
(function (OperatingSystems) {
OperatingSystems["LINUX"] = "Linux";
OperatingSystems["WINDOWS"] = "Windows";
OperatingSystems["MACOS"] = "macOS";
})(OperatingSystems = exports.OperatingSystems || (exports.OperatingSystems = {}));
})(OperatingSystems || (exports.OperatingSystems = OperatingSystems = {}));
exports.SupportedOperatingSystems = [OperatingSystems.LINUX];
/* Excluded files. */
var DefaultExcludedFiles;
Expand All @@ -119,4 +119,4 @@ var DefaultExcludedFiles;
DefaultExcludedFiles["SSH"] = ".ssh";
DefaultExcludedFiles["GIT"] = ".git";
DefaultExcludedFiles["GITHUB"] = ".github";
})(DefaultExcludedFiles = exports.DefaultExcludedFiles || (exports.DefaultExcludedFiles = {}));
})(DefaultExcludedFiles || (exports.DefaultExcludedFiles = DefaultExcludedFiles = {}));
4 changes: 2 additions & 2 deletions lib/execute.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const output = { stdout: '', stderr: '' };
* @param {boolean} ignoreReturnCode - Determines whether to throw an error
* on a non-zero exit status or to leave implementation up to the caller.
*/
function execute(cmd, cwd, silent, ignoreReturnCode = false) {
return __awaiter(this, void 0, void 0, function* () {
function execute(cmd_1, cwd_1, silent_1) {
return __awaiter(this, arguments, void 0, function* (cmd, cwd, silent, ignoreReturnCode = false) {
output.stdout = '';
output.stderr = '';
yield (0, exec_1.exec)(cmd, [], {
Expand Down
4 changes: 3 additions & 1 deletion lib/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,10 @@ function deploy(action) {
(0, core_1.info)('Updates were rejected');
// If the push failed for any fatal reason other than being rejected,
// there is a problem
if (!rejected && pushResult.stderr.trim().startsWith('fatal:'))
if (!rejected &&
pushResult.stderr.split(/\n/).some(s => s.trim().startsWith('fatal:'))) {
throw new Error(pushResult.stderr);
}
} while (rejected);
}
(0, core_1.info)(`Changes committed to the ${action.branch} branch… 📦`);
Expand Down
1 change: 1 addition & 0 deletions node_modules/.bin/acorn

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/eslint

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/js-yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/node-which

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/.bin/semver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/tsc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/tsserver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion node_modules/.bin/which

This file was deleted.

21 changes: 21 additions & 0 deletions node_modules/@aashutoshrathi/word-wrap/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

182 changes: 182 additions & 0 deletions node_modules/@aashutoshrathi/word-wrap/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions node_modules/@aashutoshrathi/word-wrap/index.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 19d0812

Please sign in to comment.