File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ replace_string_in_file() {
46
46
local old_string_with_common_canvas_path=" \"\$ ref\" :\ \" https:\/\/api.dataplatform.ibm.com\/schemas\/common-canvas\/" $url " \/"
47
47
local new_string=" \"\$ ref\" :\ \" \.\/"
48
48
49
- sed -i ' ' " s/$old_string /$new_string /g" " $file_path "
50
- sed -i ' ' " s/$old_string_with_common_canvas_path /$new_string /g" " $file_path "
49
+ sed -i' ' " s/$old_string /$new_string /g" " $file_path "
50
+ sed -i' ' " s/$old_string_with_common_canvas_path /$new_string /g" " $file_path "
51
51
# Warning: The above command runs OK on the build machine without a
52
52
# space between the -i and the double quotes. However, if running
53
53
# locally on a Mac a space is needed.
@@ -179,7 +179,7 @@ npx json2ts --bannerComment "$ts_prologue" expression-info-v3-schema.json ../typ
179
179
# currently convert these to readonly keywords in the TS file. The line below looks for
180
180
# @readonly which must be added to the description of the property and then prefixes
181
181
# the line two below the comment with the 'readonly' keyword.
182
- sed -i ' ' ' /@readonly/ { n; n; s/^/readonly/; }' " ../types/canvas-info-v3.ts"
182
+ sed -i' ' ' /@readonly/ { n; n; s/^/readonly/; }' " ../types/canvas-info-v3.ts"
183
183
184
184
# Create an Typescript index file
185
185
# We have to export explicitely from canvas-info and palete because they reference
You can’t perform that action at this time.
0 commit comments