Skip to content

Commit

Permalink
Deploy Production Code for Commit 386cc30 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Jul 5, 2024
1 parent 386cc30 commit 630bbaf
Show file tree
Hide file tree
Showing 670 changed files with 203,179 additions and 417,174 deletions.
1 change: 0 additions & 1 deletion lib/execute.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="node" />
type ExecuteOutput = {
stdout: string;
stderr: string;
Expand Down
7 changes: 3 additions & 4 deletions lib/execute.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.stderr = exports.stdout = exports.execute = void 0;
exports.execute = execute;
exports.stdout = stdout;
exports.stderr = stderr;
const exec_1 = require("@actions/exec");
const buffer_1 = __importDefault(require("buffer"));
const output = { stdout: '', stderr: '' };
Expand All @@ -39,20 +41,17 @@ function execute(cmd_1, cwd_1, silent_1) {
return Promise.resolve(output);
});
}
exports.execute = execute;
function stdout(data) {
const dataString = data.toString().trim();
if (output.stdout.length + dataString.length <
buffer_1.default.constants.MAX_STRING_LENGTH) {
output.stdout += dataString;
}
}
exports.stdout = stdout;
function stderr(data) {
const dataString = data.toString().trim();
if (output.stderr.length + dataString.length <
buffer_1.default.constants.MAX_STRING_LENGTH) {
output.stderr += dataString;
}
}
exports.stderr = stderr;
5 changes: 2 additions & 3 deletions lib/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.deploy = exports.init = void 0;
exports.init = init;
exports.deploy = deploy;
const core_1 = require("@actions/core");
const io_1 = require("@actions/io");
const fs_1 = __importDefault(require("fs"));
Expand Down Expand Up @@ -68,7 +69,6 @@ function init(action) {
}
});
}
exports.init = init;
/**
* Runs the necessary steps to make the deployment.
*/
Expand Down Expand Up @@ -215,4 +215,3 @@ function deploy(action) {
}
});
}
exports.deploy = deploy;
2 changes: 1 addition & 1 deletion lib/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = run;
const core_1 = require("@actions/core");
const constants_1 = require("./constants");
const git_1 = require("./git");
Expand Down Expand Up @@ -84,4 +85,3 @@ function run(configuration) {
}
});
}
exports.default = run;
3 changes: 1 addition & 2 deletions lib/ssh.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.configureSSH = void 0;
exports.configureSSH = configureSSH;
const core_1 = require("@actions/core");
const io_1 = require("@actions/io");
const child_process_1 = require("child_process");
Expand Down Expand Up @@ -54,4 +54,3 @@ function configureSSH(action) {
}
});
}
exports.configureSSH = configureSSH;
2 changes: 1 addition & 1 deletion lib/util.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ActionInterface } from './constants';
* Utility function that checks to see if a value is undefined or not.
* If allowEmptyString is passed the parameter is allowed to contain an empty string as a valid parameter.
*/
export declare const isNullOrUndefined: (value: unknown) => value is "" | null | undefined;
export declare const isNullOrUndefined: (value: unknown) => value is undefined | null | "";
/**
* Generates a token type used for the action.
*/
Expand Down
4 changes: 2 additions & 2 deletions lib/worktree.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.generateWorktree = exports.GitCheckout = void 0;
exports.GitCheckout = void 0;
exports.generateWorktree = generateWorktree;
const core_1 = require("@actions/core");
const execute_1 = require("./execute");
const util_1 = require("./util");
Expand Down Expand Up @@ -97,4 +98,3 @@ function generateWorktree(action, worktreedir, branchExists) {
}
});
}
exports.generateWorktree = generateWorktree;
File renamed without changes.
Loading

0 comments on commit 630bbaf

Please sign in to comment.