Skip to content

Commit

Permalink
fixed spacing issue and upped version number
Browse files Browse the repository at this point in the history
  • Loading branch information
hakluke committed Jan 17, 2020
1 parent 16e93bf commit d5f9c27
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,7 +1,7 @@
# hakrawler

[![Twitter](https://img.shields.io/badge/twitter-@hakluke_-blue.svg)](https://twitter.com/hakluke)
[![Version](https://img.shields.io/badge/version-beta2-blue.svg)](https://github.com/hakluke/hakrawler)
[![Version](https://img.shields.io/badge/version-beta3-blue.svg)](https://github.com/hakluke/hakrawler)
[![License](https://img.shields.io/badge/license-MIT-_red.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html)

## What is it?
Expand Down
3 changes: 2 additions & 1 deletion pkg/collector/collector.go
Expand Up @@ -354,7 +354,8 @@ func (c *Collector) colorPrint(tag aurora.Value, msg string, plain bool) {
c.w.Write([]byte(fmt.Sprintln(msg)))
} else {
// append message to ansi code as bytes
bs := append([]byte(fmt.Sprint(tag)), []byte(fmt.Sprintln(msg))...)
bs := append([]byte(fmt.Sprint(tag)), " "...)
bs = append(bs, []byte(fmt.Sprintln(msg))...)
c.w.Write(bs)
}
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/config.go
Expand Up @@ -28,7 +28,7 @@ type Config struct {
func NewConfig() Config {
var conf Config
// default values
conf.Version = "beta 2"
conf.Version = "beta 3"
conf.DisplayVersion = false
conf.Url = ""
conf.Depth = 1
Expand Down

0 comments on commit d5f9c27

Please sign in to comment.