MCPcopy Create free account
hub / github.com/vercel/vercel / getExecutableName

Function getExecutableName

packages/rust/src/lib/utils.ts:6–9  ·  view source on GitHub ↗
(binName: string)

Source from the content-addressed store, hash-verified

4import { debug, glob, runShellScript } from '@vercel/build-utils';
5
6export function getExecutableName(binName: string): string {
7 // The compiled binary in Windows has the `.exe` extension
8 return process.platform === 'win32' ? `${binName}.exe` : binName;
9}
10
11export function assertEnv(name: string): string {
12 if (!process.env[name]) {

Callers 2

buildHandlerFunction · 0.90
buildExecutableForDevFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected