File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
docusaurus/docs/ReactNative/Basics Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ jobs:
2828 SDKs=(`find ./$SOURCE_DIRECTORY/docs -maxdepth 1 -mindepth 1 -type d | awk -F'/' '{print $4}'`)
2929 for sdk in "${SDKs[@]}"
3030 do
31- SDK_NO_SPACES="${sdk/ /}"
3231 echo "Deleting all contents of $sdk in target git repository and copying current over"
33- find $CLONE_DIR/$SOURCE_DIRECTORY -maxdepth 1 -mindepth 1 -type f -iname '*$SDK_NO_SPACES*' -exec rm -rf {} \;
34- find $CLONE_DIR/$SOURCE_DIRECTORY -maxdepth 2 -mindepth 1 -type d -iname '*$SDK_NO_SPACES*' -exec rm -rf {} \;
32+ find $CLONE_DIR/$SOURCE_DIRECTORY -maxdepth 1 -mindepth 1 -type f -iname "*${sdk/ /}*" -exec rm -rf {} \;
33+ find $CLONE_DIR/$SOURCE_DIRECTORY -maxdepth 2 -mindepth 1 -type d -iname "*${sdk/ /}*" -exec rm -rf {} \;
34+ ls -la $CLONE_DIR/$SOURCE_DIRECTORY
3535 done
3636 cp -a "$SOURCE_DIRECTORY"/. "$CLONE_DIR/$SOURCE_DIRECTORY"
3737 find $CLONE_DIR/$SOURCE_DIRECTORY -maxdepth 1 -mindepth 1 -type f -iname '*plugin.js' -exec rm -f {} \; # remove any custom plugins
Original file line number Diff line number Diff line change @@ -216,4 +216,4 @@ To disconnect a user you can call `disconnect` on the client.
216216
217217``` ts
218218await client .disconnectUser ();
219- ```
219+ ```
You can’t perform that action at this time.
0 commit comments