diff --git a/ZHgalGrWSF b/ZHgalGrWSF new file mode 100644 index 000000000..f1f0d2371 --- /dev/null +++ b/ZHgalGrWSF @@ -0,0 +1 @@ +GaUMygWjJa \ No newline at end of file diff --git a/gitcommands.go b/gitcommands.go index 2d073aec9..7c1ec84bd 100644 --- a/gitcommands.go +++ b/gitcommands.go @@ -107,13 +107,11 @@ func mergeGitStatusFiles(oldGitFiles, newGitFiles []GitFile) []GitFile { } func runDirectCommand(command string) (string, error) { - timeStart := time.Now() commandLog(command) cmdOut, err := exec. Command(state.Platform.shell, state.Platform.shellArg, command). CombinedOutput() - devLog("run direct command time for command: ", command, time.Now().Sub(timeStart)) return sanitisedCommandOutput(cmdOut, err) } @@ -218,12 +216,10 @@ func sanitisedCommandOutput(output []byte, err error) (string, error) { } func runCommand(command string) (string, error) { - commandStartTime := time.Now() commandLog(command) splitCmd := strings.Split(command, " ") devLog(splitCmd) cmdOut, err := exec.Command(splitCmd[0], splitCmd[1:]...).CombinedOutput() - devLog("run command time: ", time.Now().Sub(commandStartTime)) return sanitisedCommandOutput(cmdOut, err) }