Skip to content

Commit 8d55585

Browse files
committed
Fix warnings and Docker bug
1 parent 0ef4af4 commit 8d55585

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Use this image to build the executable
22
FROM golang:1.16-alpine AS compiler
33

4-
RUN apk add --no-cache git ca-certificates make
4+
RUN apk add --no-cache git ca-certificates make bash
55

66
WORKDIR $GOPATH/src/minify
77
COPY . .

js/util.go

-4
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ var (
2929
notBytes = []byte("!")
3030
questionBytes = []byte("?")
3131
equalBytes = []byte("=")
32-
notNotBytes = []byte("!!")
33-
andBytes = []byte("&&")
34-
orBytes = []byte("||")
3532
optChainBytes = []byte("?.")
36-
nullishBytes = []byte("??")
3733
arrowBytes = []byte("=>")
3834
zeroBytes = []byte("0")
3935
oneBytes = []byte("1")

0 commit comments

Comments
 (0)