Skip to content

How to always activate branch #982

Answered by fitrh
lcrockett asked this question in Q&A
Discussion options

You must be logged in to vote

I think you can use fmt component options

{
    'branch',
    fmt = function (str)
        if str == '' then 
            return 'NA'
        end 
        return str 
    end,
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lcrockett
Comment options

Answer selected by lcrockett
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants