qetza / replacetokens-task

Azure Pipelines task to replace tokens in files with variables.
MIT License
11 stars 2 forks source link

README tokenPattern wrongly documented #7

Closed robmaas closed 5 months ago

robmaas commented 5 months ago

The README states:

 # The token pattern to use.
    # Use 'custom' to provide your own prefix and suffix.
    #
    # Accepted values:
    #   - default: #{ ... }#
    #   - azurepipelines: $( ... )
    #   - custom: token-prefix ... token-suffix
    #   - doublebraces: {{ ... }}
    #   - doubleunderscores: __ ... __
    #   - githubactions: #{{ ... }}
    #   - octopus: #{ ... }
    #
    # Optional. Default: default
    tokenPattern: ''

The value azurepipelines is incorrect, it should be azpipelines.

    ...
    #   - azpipelines: $( ... )
    ...
    tokenPattern: ''

Was going to create a PR, but forking is a bit of a hassle for a simple typo.

qetza commented 5 months ago

Hi @robmaas, Thanks for raising the issue, i will update the README :smile: