Skip to content

Commit

Permalink
fix: error message when volt cannot overwrite vimrc (fix #222)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyru committed Apr 9, 2018
1 parent 81f31f7 commit 3c820e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/builder/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (builder *BaseBuilder) installRCFile(profileName, srcRCFileName, dst string
if !pathutil.Exists(src) {
return nil
}
return errors.New("'" + dst + "' does not have magic comment")
return fmt.Errorf("'%s' is not an auto-generated file. please move to '%s' and re-run 'volt build'", dst, pathutil.RCDir(profileName))
}
}

Expand Down

0 comments on commit 3c820e8

Please sign in to comment.