Skip to content
This repository was archived by the owner on Jul 23, 2021. It is now read-only.

Commit d611551

Browse files
albertodestetchock
authored andcommitted
Update extract-rest-api-id.js (#94)
Added double quotes on chunks join to avoid default ',' (comma) character used by JS.
1 parent 159600c commit d611551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/extract-rest-api-id.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ stdin.on('data', function (chunk) {
2222
})
2323

2424
stdin.on('end', function () {
25-
let inputJSON = inputChunks.join()
25+
let inputJSON = inputChunks.join('')
2626
let parsedData = JSON.parse(inputJSON)
2727
parsedData.items.forEach(function (curr) {
2828
if (curr.name === targetRestApiName) {

0 commit comments

Comments
 (0)