Removed goimports
This commit is contained in:
parent
5194bc64ff
commit
dae1e9ca34
4
makefile
4
makefile
@ -12,7 +12,6 @@ IPTABLES=@sudo iptables
|
|||||||
IP6TABLES=@sudo ip6tables
|
IP6TABLES=@sudo ip6tables
|
||||||
PACK:=$(shell command -v pack 2> /dev/null)
|
PACK:=$(shell command -v pack 2> /dev/null)
|
||||||
RUN:=$(shell command -v run 2> /dev/null)
|
RUN:=$(shell command -v run 2> /dev/null)
|
||||||
GOIMPORTS:=$(shell command -v goimports 2> /dev/null)
|
|
||||||
SERVICEFILE=/etc/systemd/system/animenotifier.service
|
SERVICEFILE=/etc/systemd/system/animenotifier.service
|
||||||
|
|
||||||
# Determine the name of the platform
|
# Determine the name of the platform
|
||||||
@ -51,13 +50,10 @@ pack:
|
|||||||
go install github.com/aerogo/pack
|
go install github.com/aerogo/pack
|
||||||
run:
|
run:
|
||||||
go install github.com/aerogo/run
|
go install github.com/aerogo/run
|
||||||
goimports:
|
|
||||||
go install golang.org/x/tools/cmd/goimports
|
|
||||||
tools:
|
tools:
|
||||||
ifeq ($(OSNAME),OSX)
|
ifeq ($(OSNAME),OSX)
|
||||||
brew install coreutils
|
brew install coreutils
|
||||||
endif
|
endif
|
||||||
@make goimports
|
|
||||||
@make pack
|
@make pack
|
||||||
@make run
|
@make run
|
||||||
service:
|
service:
|
||||||
|
@ -58,6 +58,7 @@ export default class Application {
|
|||||||
else
|
else
|
||||||
resolve(request.responseText)
|
resolve(request.responseText)
|
||||||
}
|
}
|
||||||
|
request.onabort = () => console.warn("Request canceled:", request)
|
||||||
|
|
||||||
request.open("GET", url, true)
|
request.open("GET", url, true)
|
||||||
request.send()
|
request.send()
|
||||||
|
Loading…
Reference in New Issue
Block a user