瀏覽代碼

fix generate-cypress-spec-arg.js

Yuki Takei 4 年之前
父節點
當前提交
bd2f2ff385
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bin/github-actions/generate-cypress-spec-arg.js

+ 1 - 1
bin/github-actions/generate-cypress-spec-arg.js

@@ -45,7 +45,7 @@ if (value.length === 0) {
 }
 
 const result = value[0]
-  .split(',')
+  .toString().split(',')
   .map(v => v.trim())
   .map(v => `${prefix}${v}${suffix}`)
   .join(',');