From 726b81b19251674e149ccfbb1abacbd837fc6db0 Mon Sep 17 00:00:00 2001 From: LinuxWizard42 Date: Wed, 12 Oct 2022 23:08:57 +0300 Subject: Removed files that should not have been included in git --- .../cross-spawn-windows-exe/dist/src/dotnet.js | 54 ---------------------- 1 file changed, 54 deletions(-) delete mode 100644 node_modules/cross-spawn-windows-exe/dist/src/dotnet.js (limited to 'node_modules/cross-spawn-windows-exe/dist/src/dotnet.js') diff --git a/node_modules/cross-spawn-windows-exe/dist/src/dotnet.js b/node_modules/cross-spawn-windows-exe/dist/src/dotnet.js deleted file mode 100644 index ca6fc75..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/dotnet.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.spawnDotNet = exports.determineDotNetWrapper = exports.dotNetDependencyInstallInstructions = void 0; -const wrapper_1 = require("./wrapper"); -/** - * Installation instructions for dependencies related to running .NET executables on the - * host platform (i.e., Mono on non-Windows platforms). - */ -function dotNetDependencyInstallInstructions() { - switch (process.platform) { - /* istanbul ignore next */ - case "win32": - return "No wrapper necessary"; - case "darwin": - return "Run `brew install mono` to install Mono on macOS via Homebrew."; - case "linux": - return "Consult your Linux distribution's package manager to determine how to install Mono."; - /* istanbul ignore next */ - default: - return "Consult your operating system's package manager to determine how to install Mono."; - } -} -exports.dotNetDependencyInstallInstructions = dotNetDependencyInstallInstructions; -/** - * Heuristically determine the path to `mono` to use. - * - * Method used to determine the path: - * - * 1. `customDotNetPath`, if provided to the function - * 2. The `MONO_BINARY` environment variable, if set and non-empty - * 3. `mono` found by searching the directories in the `PATH` environment variable - */ -function determineDotNetWrapper(customDotNetPath) { - if (customDotNetPath) { - return customDotNetPath; - } - if (process.env.MONO_BINARY) { - return process.env.MONO_BINARY; - } - return "mono"; -} -exports.determineDotNetWrapper = determineDotNetWrapper; -/** - * Spawn a .NET executable. On non-Windows platforms, use [Nono](https://www.mono-project.com/) - * to run it. - */ -async function spawnDotNet(cmd, args, options) { - var _a; - options !== null && options !== void 0 ? options : (options = {}); - (_a = options.wrapperInstructions) !== null && _a !== void 0 ? _a : (options.wrapperInstructions = dotNetDependencyInstallInstructions()); - return wrapper_1.spawnWrapperFromFunction(determineDotNetWrapper, cmd, args, options); -} -exports.spawnDotNet = spawnDotNet; -//# sourceMappingURL=dotnet.js.map \ No newline at end of file -- cgit v1.2.3-86-g962b