UNPKG

@coveo/semantic-monorepo-tools

Version:

A library of helper functions to do SemVer2 compliant releases from Conventional Commits in monorepos

4 lines (3 loc) 116 B
export default function appendCmdIfWindows(cmd) { return `${cmd}${process.platform === "win32" ? ".ps1" : ""}`; }