Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Aug 25, 2024
1 parent 5576c9f commit 34b2706
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions server/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,6 @@ if (crtFile && keyFile) {

const wss = new WebSocketServer({ server })

function checkCommandExists(command) {
return new Promise((resolve, reject) => {
exec(`command -v ${command}`, (error) => {
if (error) {
resolve(false); // Command does not exist
} else {
resolve(true); // Command exists
}
});
});
}

function startServerProcess(project) {
let projectPath = __dirname + `/../Projects/` + project

Expand Down

0 comments on commit 34b2706

Please sign in to comment.