We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba82410 commit a238850Copy full SHA for a238850
scripts/generateTS.sh
@@ -39,8 +39,13 @@ replace_string_in_file() {
39
local file_path="$1"
40
local url="$2"
41
42
- local old_string="\"\$ref\": \"https:\/\/api.dataplatform.ibm.com\/schemas\/common-pipeline\/"$url"\/"
43
- local new_string="\"\$ref\": \".\/"
+ local old_string=": \"https:\/\/api.dataplatform.ibm.com\/schemas\/common-pipeline\/"$url
+ local new_string=": \"."
44
+
45
+ echo "$file_path"
46
+ echo "$url"
47
+ echo "$old_string"
48
+ echo "$new_string"
49
50
sed -i '' "s/$old_string/$new_string/g" "$file_path"
51
}
0 commit comments