MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / removeLogFile

Function removeLogFile

runtime/src/js/misc.js:123–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121
122// This function is used to remove the log file
123const removeLogFile = () => {
124 if (fs.existsSync(serverLogFile)) {
125 fs.rmSync(serverLogFile);
126 }
127};
128
129// This function used to set the object of pgAdmin server process.
130export const setProcessObject = (processObject) => {

Callers 1

cleanupAndQuitAppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected