MCPcopy Index your code
hub / github.com/monkeytypegame/monkeytype / checkUncommittedChanges

Function checkUncommittedChanges

packages/release/src/index.js:154–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152};
153
154const checkUncommittedChanges = () => {
155 console.log("Checking uncommitted changes...");
156 const status = execSync("git status --porcelain").toString().trim();
157
158 if (status && !isDryRun) {
159 console.error(
160 "You have uncommitted changes. Please commit or stash them before proceeding.",
161 );
162 process.exit(1);
163 }
164};
165
166const installDependencies = () => {
167 console.log("Installing dependencies...");

Callers 1

mainFunction · 0.85

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected