add node_modules/

This commit is contained in:
Egor Tensin 2021-03-14 03:45:15 +03:00
parent 203b15ee12
commit a7a0ed9750
17 changed files with 750 additions and 0 deletions

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

@ -0,0 +1,19 @@
"use strict";
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
Object.defineProperty(exports, "__esModule", { value: true });
/**
* 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