Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix error return but uncheck and fix bug #2

Closed
wants to merge 15 commits into from
Closed

fix error return but uncheck and fix bug #2

wants to merge 15 commits into from

Conversation

lemondy
Copy link

@lemondy lemondy commented May 6, 2019

修改saveConfig 函数返回值,由nil修改为具体的错误类型
修复SaveConfigToFile遇到错误应该直接返回error,而不是继续执行下面的代码

@@ -22,7 +22,7 @@ package main

import (
"fmt"

"errors"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

system packages should be grouped in first block

cmd/gyee/configcmd.go Outdated Show resolved Hide resolved
@Chm Chm self-assigned this May 7, 2019
@Chm Chm added the good first issue Good for newcomers label May 7, 2019
Name: "config",
Usage: "Manage config",
Category: "CONFIG COMMANDS",
Description: `
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leading newline here was shown in help text, no need to format

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@Chm
Copy link
Contributor

Chm commented May 8, 2019

I see u've got 7 commits with empty and merge along the way.
Could u plz squash them into a single commit?

@Chm
Copy link
Contributor

Chm commented May 8, 2019

master branch is protected by default, you may find a dedicated patch branch handy.

@lemondy
Copy link
Author

lemondy commented May 8, 2019

OK

@lemondy
Copy link
Author

lemondy commented May 8, 2019

you can close this pr

@Chm Chm closed this May 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants