Skip to content

Commit

Permalink
Merge pull request #2 from k-goolsbee/fix-getFolderWithCommits
Browse files Browse the repository at this point in the history
fix(turbo-git): the execSync function was calling exec.  exec is an a…
  • Loading branch information
jucian0 authored Mar 7, 2024
2 parents ed1c59c + 79b0955 commit 2541e55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/turbo-git/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { exec } from "child_process";
import { exec, execSync as syncExec } from "child_process";
import { existsSync, statSync } from "fs";
import { join } from "path";
import { cwd } from "process";
Expand All @@ -11,7 +11,7 @@ const execAsync = function (command: string) {
};

const execSync = function (command: string, args?: any) {
return exec(command, { maxBuffer: 1024 * 1024 * 10, ...args });
return syncExec(command, { maxBuffer: 1024 * 1024 * 10, ...args });
};

type GitTagOptions = {
Expand Down

0 comments on commit 2541e55

Please sign in to comment.