MCPcopy Create free account
hub / github.com/Marus/cortex-debug / ensureGitClean

Function ensureGitClean

release.js:16–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14}
15
16function ensureGitClean() {
17 const gitStatus = child_process
18 .execSync('git status --short')
19 .toString()
20 .trim();
21 if (gitStatus) {
22 errExit('Uncommitted changes exist. exiting. Cannot continue');
23 }
24}
25
26function isPreRelease() {
27 let obj;

Callers 1

vsceRunFunction · 0.85

Calls 2

errExitFunction · 0.85
toStringMethod · 0.80

Tested by

no test coverage detected