UNPKG

approvals

Version:

Approval Tests Library - Capturing Human Intelligence

12 lines (11 loc) 513 B
"use strict"; // Remove the reference path as TypeScript should be configured to recognize node types globally via `tsconfig.json` Object.defineProperty(exports, "__esModule", { value: true }); exports.findProgramPathCommand = exports.platform = void 0; // Detect OS-specific features using TypeScript. const isWindows = process.platform.startsWith("win"); exports.platform = { isWindows: isWindows, isMac: process.platform === "darwin", }; exports.findProgramPathCommand = isWindows ? "where" : "which";