Skip to content

Commit b729dbe

Browse files
author
Vir Desai
committed
docs change to test deleting missing files in main repo
1 parent f616add commit b729dbe

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/docusaurus.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

docusaurus/docs/ReactNative/Basics/client.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,4 +216,4 @@ To disconnect a user you can call `disconnect` on the client.
216216

217217
```ts
218218
await client.disconnectUser();
219-
```
219+
```

0 commit comments

Comments
 (0)