alibaba / funcraft

(have) Fun with Serverless(API Gateway & Function Compute)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fun deploy --use-ros xxx -p a="123\n456" 解析问题

wss-git opened this issue · comments

  1. 新建一个文件 test.txt, 内容如下
123
456
  1. 使用 fun deploy --use-ros -p a="$(<test.txt)" -p opo=popo -p abc='asd\n123d'
    预期输出:{ a: '123\n456', opo: 'popo', abc: 'asd\n123d' }
    实际输出: { a: '123', opo: 'popo', abc: 'asd\n123d' }