TickX / var-to-dotenv

A GitHub action that appends a variable to a dotenv file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

replace is not a function

meonaze opened this issue · comments

commented
Run TickX/var-to-dotenv@v1.1.1
/home/runner/work/_actions/TickX/var-to-dotenv/v1.1.1/dist/index.js:293
        .replace(/%/g, '%25')
         ^

TypeError: (s || "").replace is not a function
    at escapeData (/home/runner/work/_actions/TickX/var-to-dotenv/v1.1.1/dist/index.js:293:10)
    at Command.toString (/home/runner/work/_actions/TickX/var-to-dotenv/v1.1.1/dist/index.js:287:35)
    at issueCommand (/home/runner/work/_actions/TickX/var-to-dotenv/v1.1.1/dist/index.js:250:30)
    at Object.issue (/home/runner/work/_actions/TickX/var-to-dotenv/v1.1.1/dist/index.js:254:5)
    at error (/home/runner/work/_actions/TickX/var-to-dotenv/v1.1.1/dist/index.js:432:15)
    at Object.setFailed (/home/runner/work/_actions/TickX/var-to-dotenv/v1.1.1/dist/index.js:413:5)
    at Object.131 (/home/runner/work/_actions/TickX/var-to-dotenv/v1.1.1/dist/index.js:218:10)
    at __webpack_require__ (/home/runner/work/_actions/TickX/var-to-dotenv/v1.1.1/dist/index.js:22:30)
    at startup (/home/runner/work/_actions/TickX/var-to-dotenv/v1.1.1/dist/index.js:37:19)
    at /home/runner/work/_actions/TickX/var-to-dotenv/v1.1.1/dist/index.js:41:18