Skip to content

Commit 3eafcf9

Browse files
committed
refactor: remove shfmt
1 parent d271265 commit 3eafcf9

File tree

4 files changed

+10
-14
lines changed

4 files changed

+10
-14
lines changed

ci/dev/fmt.sh

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ set -euo pipefail
44
main() {
55
cd "$(dirname "$0")/../.."
66

7-
shfmt -i 2 -w -sr $(git ls-files "*.sh" | grep -v "lib/vscode")
8-
97
local prettierExts
108
prettierExts=(
119
"*.js"

ci/images/centos7/Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ ENV PATH=/usr/local/go/bin:$GOPATH/bin:$PATH
2626

2727
# Install Go dependencies
2828
ENV GO111MODULE=on
29-
RUN go get mvdan.cc/sh/v3/cmd/shfmt
3029
RUN go get github.com/goreleaser/nfpm/cmd/[email protected]
3130

3231
RUN curl -fsSL https://get.docker.com | sh

ci/images/debian10/Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ ENV PATH=/usr/local/go/bin:$GOPATH/bin:$PATH
4242

4343
# Install Go dependencies
4444
ENV GO111MODULE=on
45-
RUN go get mvdan.cc/sh/v3/cmd/shfmt
4645
RUN go get github.com/goreleaser/nfpm/cmd/[email protected]
4746

4847
RUN VERSION="$(curl -fsSL https://storage.googleapis.com/kubernetes-release/release/stable.txt)" && \

docs/CONTRIBUTING.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
33
# Contributing
44

5-
- [Pull Requests](#pull-requests)
6-
- [Requirements](#requirements)
7-
- [Development Workflow](#development-workflow)
8-
- [Updating VS Code](#updating-vs-code)
9-
- [Notes about Changes](#notes-about-changes)
10-
- [Build](#build)
11-
- [Structure](#structure)
12-
- [Modifications to VS Code](#modifications-to-vs-code)
13-
- [Currently Known Issues](#currently-known-issues)
5+
- [Contributing](#contributing)
6+
- [Pull Requests](#pull-requests)
7+
- [Requirements](#requirements)
8+
- [Development Workflow](#development-workflow)
9+
- [Updating VS Code](#updating-vs-code)
10+
- [Notes about Changes](#notes-about-changes)
11+
- [Build](#build)
12+
- [Structure](#structure)
13+
- [Modifications to VS Code](#modifications-to-vs-code)
14+
- [Currently Known Issues](#currently-known-issues)
1415

1516
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
1617

@@ -36,7 +37,6 @@ There are several differences, however. You must:
3637
- Use Node.js version 12.x (or greater)
3738
- Have [yarn](https://classic.yarnpkg.com/en/) installed (which is used to install JS packages and run development scripts)
3839
- Have [nfpm](https://github.com/goreleaser/nfpm) (which is used to build `.deb` and `.rpm` packages and [jq](https://stedolan.github.io/jq/) (used to build code-server releases) installed
39-
- Have [shfmt](https://pkg.go.dev/mvdan.cc/sh/v3) installed to run `yarn fmt` (requires Go is installed on your system)
4040

4141
The [CI container](../ci/images/debian10/Dockerfile) is a useful reference for all
4242
of the dependencies code-server uses.

0 commit comments

Comments
 (0)