ghq: update to 0.9.0.
This commit is contained in:
parent
730d83b898
commit
a94f2467a6
2 changed files with 3 additions and 37 deletions
|
@ -1,34 +0,0 @@
|
|||
From 344a2a8a0eea18db2f24dec7cae395f1e1621db7 Mon Sep 17 00:00:00 2001
|
||||
From: Yota Toyama <raviqqe@gmail.com>
|
||||
Date: Fri, 17 Aug 2018 01:32:04 +0000
|
||||
Subject: [PATCH] Use new constructor for logger
|
||||
|
||||
---
|
||||
utils/log.go | 7 ++-----
|
||||
1 file changed, 2 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git utils/log.go b/utils/log.go
|
||||
index fa4c4e4..135699b 100644
|
||||
--- utils/log.go
|
||||
+++ utils/log.go
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"github.com/motemen/go-colorine"
|
||||
)
|
||||
|
||||
-var logger = &colorine.Logger{
|
||||
+var logger = colorine.NewLogger(
|
||||
colorine.Prefixes{
|
||||
"git": colorine.Verbose,
|
||||
"hg": colorine.Verbose,
|
||||
@@ -23,10 +23,7 @@ var logger = &colorine.Logger{
|
||||
"authorized": colorine.Notice,
|
||||
|
||||
"error": colorine.Error,
|
||||
-
|
||||
- "": colorine.Info,
|
||||
- },
|
||||
-}
|
||||
+ }, colorine.Info)
|
||||
|
||||
func Log(prefix, message string) {
|
||||
logger.Log(prefix, message)
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ghq'
|
||||
pkgname=ghq
|
||||
version=0.8.0
|
||||
revision=7
|
||||
version=0.9.0
|
||||
revision=1
|
||||
build_style=go
|
||||
go_import_path=github.com/motemen/ghq
|
||||
go_package="$go_import_path"
|
||||
|
@ -12,7 +12,7 @@ maintainer="Dominic Monroe <monroef4@googlemail.com>"
|
|||
license="MIT"
|
||||
homepage="https://github.com/motemen/ghq"
|
||||
distfiles="https://github.com/motemen/ghq/archive/v${version}.tar.gz"
|
||||
checksum=e3df98794a423000676987812ded7dab30367dfbc82a2b7a8d2ebbea12fa81b2
|
||||
checksum=c5b9ff71ab533a2789da27368603852a3969c5cf8137b12b95e1bcbdaa816cf6
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Reference in a new issue