Skip to content

Commit 8349953

Browse files
authored
Merge pull request linode#68 from alioso/CT-870
CT-870 Add missing line break on first line of shell/CLI examples
2 parents bca52ca + 0adca47 commit 8349953

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

getDependencies.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ rm static/api/docs/v4/openapi.yaml.bak
3535
echo
3636
printf "${BLUE}Converting YAML to JSON${NC}\n"
3737
node_modules/yamljs/bin/yaml2json static/api/docs/v4/openapi.yaml > static/api/docs/v4/spec.json
38+
# some data manipulation to fix the result of the conversion above
39+
sed -i.bak 's@\\\\[[:space:]]@\\\\\\n @g' static/api/docs/v4/spec.json
40+
rm static/api/docs/v4/spec.json.bak

0 commit comments

Comments
 (0)