Fix whitespace issues
This commit is contained in:
parent
e361098941
commit
78dc657dbb
|
@ -56,7 +56,6 @@ func newConfigCmd() *cobra.Command {
|
|||
}
|
||||
|
||||
func parseConfigKey(key string) (tokens.ModuleMember, error) {
|
||||
|
||||
// As a convience, we'll treat any key with no delimiter as if:
|
||||
// <program-name>:config:<key> had been written instead
|
||||
if !strings.Contains(key, tokens.TokenDelimiter) {
|
||||
|
|
|
@ -63,7 +63,6 @@ func (eng *Engine) readPackageFromStdin() (*pkginfo, error) {
|
|||
m := encoding.Marshalers[".json"]
|
||||
var pkg pack.Package
|
||||
err = m.Unmarshal(b, &pkg)
|
||||
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "a problem occurred when unmarshaling stdin into a package")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue