summaryrefslogtreecommitdiff
path: root/.github/actions/msvc-dev-cmd/node_modules/@actions/core/lib/utils.js
diff options
context:
space:
mode:
Diffstat (limited to '.github/actions/msvc-dev-cmd/node_modules/@actions/core/lib/utils.js')
-rw-r--r--.github/actions/msvc-dev-cmd/node_modules/@actions/core/lib/utils.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/.github/actions/msvc-dev-cmd/node_modules/@actions/core/lib/utils.js b/.github/actions/msvc-dev-cmd/node_modules/@actions/core/lib/utils.js
deleted file mode 100644
index 97cea33..0000000
--- a/.github/actions/msvc-dev-cmd/node_modules/@actions/core/lib/utils.js
+++ /dev/null
@@ -1,19 +0,0 @@
-"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 \ No newline at end of file