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
|
||||
PACK:=$(shell command -v pack 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
|
||||
|
||||
# Determine the name of the platform
|
||||
@ -51,13 +50,10 @@ pack:
|
||||
go install github.com/aerogo/pack
|
||||
run:
|
||||
go install github.com/aerogo/run
|
||||
goimports:
|
||||
go install golang.org/x/tools/cmd/goimports
|
||||
tools:
|
||||
ifeq ($(OSNAME),OSX)
|
||||
brew install coreutils
|
||||
endif
|
||||
@make goimports
|
||||
@make pack
|
||||
@make run
|
||||
service:
|
||||
|
@ -58,6 +58,7 @@ export default class Application {
|
||||
else
|
||||
resolve(request.responseText)
|
||||
}
|
||||
request.onabort = () => console.warn("Request canceled:", request)
|
||||
|
||||
request.open("GET", url, true)
|
||||
request.send()
|
||||
|
Loading…
Reference in New Issue
Block a user