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

Error for insert header. #104

Open
niquenen opened this issue Sep 5, 2018 · 1 comment
Open

Error for insert header. #104

niquenen opened this issue Sep 5, 2018 · 1 comment

Comments

@niquenen
Copy link

niquenen commented Sep 5, 2018

Hi,

When I have a directory ".git" in my project the plugin return a console error and can't insert header.
The problem come from the file FileHeader.py (l.220).

output, error = getOutputError('git config --get user.name')

If the line is comment the plugin work correctly :

if not error:
        #output, error = getOutputError('git config --get user.name')
        if not error and output:
                user = output
return user
@fanser
Copy link

fanser commented May 6, 2019

Your solution can fix this problem. but, whether has another better way ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants