UNPKG

snyk-gradle-plugin

Version:
16 lines 453 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.quoteValueOnWindows = quoteValueOnWindows; const tslib_1 = require("tslib"); const os = tslib_1.__importStar(require("os")); /** * Quotes the value if the OS is Windows. */ function quoteValueOnWindows(arg) { const isWinLocal = /^win/.test(os.platform()); if (isWinLocal) { return `"${arg}"`; } return arg; } //# sourceMappingURL=utils.js.map