MCPcopy Create free account
hub / github.com/Botloader/botloader / isInMercurialRepository

Function isInMercurialRepository

frontend/scripts/test.js:31–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31function isInMercurialRepository() {
32 try {
33 execSync('hg --cwd . root', { stdio: 'ignore' });
34 return true;
35 } catch (e) {
36 return false;
37 }
38}
39
40// Watch unless on CI or explicitly running all tests
41if (

Callers 1

test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected