MCPcopy Index your code
hub / github.com/changesets/changesets / getLimit

Function getLimit

packages/cli/src/utils/cli-utilities.ts:43–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41// this can exec tput so we make it compute lazily to avoid such side effects at init time
42let limit: number | undefined;
43const getLimit = () => (limit ??= Math.max(termSize().rows - 5, 10));
44
45let cancelFlow = () => {
46 success("Cancelled... 👋 ");

Callers 1

askCheckboxPlusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected