mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-03 02:21:44 +00:00
style: collapse Math.min call to satisfy prettier formatting
This commit is contained in:
parent
cd5329bfc9
commit
db14131e87
1 changed files with 1 additions and 4 deletions
|
|
@ -360,10 +360,7 @@ function runGitNexusCli(cliPath, args, cwd, timeout) {
|
|||
windowsHide: true,
|
||||
});
|
||||
}
|
||||
const npxTimeout = Math.min(
|
||||
timeout + 5000,
|
||||
CURSOR_HOST_BUDGET_MS - CURSOR_NPX_HEADROOM_MS,
|
||||
);
|
||||
const npxTimeout = Math.min(timeout + 5000, CURSOR_HOST_BUDGET_MS - CURSOR_NPX_HEADROOM_MS);
|
||||
return spawnSync(isWin ? 'npx.cmd' : 'npx', ['-y', 'gitnexus', ...args], {
|
||||
encoding: 'utf-8',
|
||||
timeout: npxTimeout,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue