File tree 2 files changed +10
-5
lines changed
2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -125,8 +125,7 @@ const ChatBubbleMessage = React.forwardRef<
125
125
ChatBubbleMessage . displayName = "ChatBubbleMessage" ;
126
126
127
127
// ChatBubbleTimestamp
128
- interface ChatBubbleTimestampProps
129
- extends React . HTMLAttributes < HTMLDivElement > {
128
+ interface ChatBubbleTimestampProps extends React . HTMLAttributes < HTMLDivElement > {
130
129
timestamp : string ;
131
130
}
132
131
Original file line number Diff line number Diff line change 4
4
LERNA_FILE=" ../lerna.json"
5
5
6
6
# Check if lerna.json exists
7
- if [ ! -f " $LERNA_FILE " ]; then
8
- echo " Error: $LERNA_FILE does not exist."
7
+ if [ ! -f " ${LERNA_FILE} " ]; then
8
+ echo " Error: ${LERNA_FILE} does not exist."
9
+ exit 1
10
+ fi
11
+
12
+ # Check if we have write permissions to the destination directory
13
+ if [ ! -w " src/lib" ]; then
14
+ echo " Error: No write permission to src/lib directory."
9
15
exit 1
10
16
fi
11
17
22
28
echo " {\" version\" : \" $VERSION \" }" > src/lib/info.json
23
29
24
30
# Confirm success
25
- echo " info.json created with version: $VERSION "
31
+ echo " info.json created with version: $VERSION "
You can’t perform that action at this time.
0 commit comments