Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
31
function
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
41
if
(
Callers
1
test.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected