Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Frichet committed Feb 19, 2017
1 parent 676e893 commit c57f970
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ script:
- yes | dot --https
# - curl -sfLo ~/.vim/autoload/plug.vim --create-dirs 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
- ls -la ~/.vim/*
- tmux new-session -n test "vim +PlugInstall +qall; exit"
- tmux new-session -n test "vim -E -s -u $HOME/.vim/vimrc +PlugInstall +qall; exit"
- test -d $HOME/.tmux/plugins/tpm
- ls -la $HOME/.vim

Expand Down
8 changes: 4 additions & 4 deletions commands/dot.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ var (
)

var (
Dot *role.Meta
Config *conf.Conf
ConfigName = ".dotrc"
Dot *role.Meta
Config *conf.Conf
ConfigName = ".dotrc"
debug, https, verbose bool
defaultDotDir = ".dot"
defaultDotDir = ".dot"
)

var DotCmd = &cobra.Command{
Expand Down
10 changes: 5 additions & 5 deletions git/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
)

var (
DefaultBranch = "master"
DefaultRemote = "origin"
DefaultPath string
PathSep = string(os.PathSeparator)
DefaultBranch = "master"
DefaultRemote = "origin"
DefaultPath string
PathSep = string(os.PathSeparator)
)

type Repository struct {
Expand All @@ -24,7 +24,7 @@ type Repository struct {
gitdir string
}

func NewRepository(spec string/*, clonePath string, remotes ...*Remote*/) (*Repository, error) {
func NewRepository(spec string /*, clonePath string, remotes ...*Remote*/) (*Repository, error) {
name, dir, url, err := ParseSpec(spec)
if err != nil {
return nil, err
Expand Down

0 comments on commit c57f970

Please sign in to comment.