Removed goimports

This commit is contained in:
Eduard Urbach 2019-04-24 00:20:43 +09:00
parent 5194bc64ff
commit dae1e9ca34
2 changed files with 1 additions and 4 deletions

View File

@ -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:

View File

@ -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()