Reedyuk/write-properties

several spaces at the end of the value

Opened this issue · 2 comments

each property value has several spaces at the end

Has anybody else experienced this issue?

this issue can be reproduces quite easy:

        uses: Reedyuk/write-properties@v1.0.3
        with:
          path: '${GITHUB_WORKSPACE}/any.properties'
          property:
            'key'
          value:
            'value'

after this step you can add a step which will printout the properties file

        run: |
          echo "### printout properties file ###"
          printf "%s " "$(< ${GITHUB_WORKSPACE}/any.properties)"

just hover with the mouse over the content and you will see the blanks behind the value. Our just printout the length to the log of the line.