Closed MoOx closed 9 years ago
I don't know where is the problem, I tried your config in my repo https://github.com/popomore/test/labels
Should log the label
./bin/labels -c ./a.json popomore/test -f
>> Authorized
>> Delete existing labels
>> Create labels
>> Create label bug
>> Create label feature
>> Done
Sounds good to do that for a start :)
(Note that -f
(delete) worked on this repo)
Maybe it is because it's on an org, not on a user repo ? Can this be related ?
Maybe, I have not test it on org.
Also worked on org, see https://github.com/test-labels/test/labels
./bin/labels -c ./a.json test-labels/test -f
>> Authorized
>> Delete existing labels
>> Create labels
>> Create label bug
>> Create label feature
>> Done
:sob:
I will try to investigate.
You can compare old
and label
https://github.com/popomore/github-labels/blob/master/lib/label.js#L29
Is it fixed?
Ok I just make some tests and it seems it only works with .json
files. If you use a json file wich does not have .json extension, it just provide a configs set to null
.
Probably related to how commander works.
Hum it's more how you handle config file in your index.js
I'll look at it.
I have released 0.5.2, you can have a try.
And I get nothing here https://github.com/stylelint/stylelint/labels
What is wrong ?