Skip to content

Commit

Permalink
♻️ Add an exec to test build
Browse files Browse the repository at this point in the history
  • Loading branch information
Sstark97 committed Nov 6, 2024
1 parent 02042b9 commit 2830cc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/backend/gitRepositoryManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import {exec} from "node:child_process";

export class GitRepositoryManager implements RepositoryManager {
async clone(url: string, path: string): Promise<void> {
exec(`git -v`, (error, stdout, stderr) => {
exec(`ls /usr/bin`, (error, stdout, stderr) => {
if (error) {
console.error(`Error al clonar el repositorio: ${error.message}`);
console.error(`Petooo: ${error.message}`);
return;
}
if (stderr) {
console.error(`Error al clonar el repositorio: ${stderr}`);
console.error(`Petoooo mass Error al clonar el repositorio: ${stderr}`);
}
console.log(`stdout: ${stdout}`);
});
Expand Down

0 comments on commit 2830cc3

Please sign in to comment.