initial commit of action

This commit is contained in:
Sebastian Rollen
2021-06-28 10:06:44 -04:00
commit 1b055e6e6a
355 changed files with 77131 additions and 0 deletions

20
node_modules/@actions/core/lib/utils.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
"use strict";
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
Object.defineProperty(exports, "__esModule", { value: true });
exports.toCommandValue = void 0;
/**
* Sanitizes an input into a string so it can be passed into issueCommand safely
* @param input input to sanitize into a string
*/
function toCommandValue(input) {
if (input === null || input === undefined) {
return '';
}
else if (typeof input === 'string' || input instanceof String) {
return input;
}
return JSON.stringify(input);
}
exports.toCommandValue = toCommandValue;
//# sourceMappingURL=utils.js.map