mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-08-24 10:13:41 -05:00
13 lines
300 B
Bash
Executable File
13 lines
300 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# This is used by VSCode; it is not very useful otherwise, since it's easy
|
|
# enough to just run `go tool gofumpt` directly, or use `just format`.
|
|
|
|
set -e
|
|
|
|
script_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
|
repo_root=$(dirname "$script_dir")
|
|
|
|
cd "$repo_root"
|
|
exec go tool gofumpt "$@"
|