File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ function replaceCodes(array $list): Generator
119119
120120 if (false === $ previewMode && true === $ updateFilesAndDirs ) {
121121 exec ('find ' .$ coursePath .$ currentDirectory .'/document/ -type f -name "*.html" -exec sed -i ' ."'s#/courses/ $ currentDirectory/#/courses/ $ newDirectory/#g' {} + " );
122- exec ('find ' .$ coursePath .$ currentDirectory .'/document/ -type f -name "*.html" -exec sed -i ' ."'s#cidReq= $ currentCode&#cidReq= $ newCode&#g' {} + " );
122+ exec ('find ' .$ coursePath .$ currentDirectory .'/document/ -type f -name "*.html" -exec sed -i ' ."'s#cidReq= $ currentCode\ &#cidReq=$ newCode\ &#g' {} + " );
123123 } else {
124124 yield " File changes ignored (variable updateFilesAndDirs set to false) " ;
125125 }
You can’t perform that action at this time.
0 commit comments