File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -174,19 +174,19 @@ installHomebrew() {
174
174
}
175
175
installDartSass () {
176
176
echo -e " $msg14 "
177
- local TIME1=$( current_time_ms)
177
+ local TIME1=$( current_time_ms) && \
178
178
if ! command -v sass & > /dev/null; then # attempt 0: dart sass installed before running _just
179
179
# attempt 1: install without logs
180
- brew install sass/sass/sass > /dev/null 2>&1
180
+ brew install sass/sass/sass > /dev/null 2>&1 && \
181
181
if ! command -v sass & > /dev/null; then
182
182
# attempt 2: install with logs
183
- local ERROR_MESSAGE=$( ErrorMessage " run.sh" " 0212" )
184
- echo -e " $ERROR_MESSAGE "
183
+ local ERROR_MESSAGE=$( ErrorMessage " run.sh" " 0212" ) && \
184
+ echo -e " $ERROR_MESSAGE " && \
185
185
brew install sass/sass/sass
186
186
fi
187
- fi
188
- local TIME2=$( current_time_ms)
189
- DSSECONDS=$( calculate_duration)
187
+ fi && \
188
+ local TIME2=$( current_time_ms) && \
189
+ DSSECONDS=$( calculate_duration) && \
190
190
echo -e " $msg15 ($DSSECONDS )"
191
191
}
192
192
You can’t perform that action at this time.
0 commit comments