mirror of
https://github.com/beekeeper-studio/beekeeper-studio.git
synced 2026-03-13 10:12:54 +08:00
15 lines
235 B
Bash
15 lines
235 B
Bash
#! /bin/bash
|
|
|
|
git grep -a "window\.confirm" apps/studio/src
|
|
STATUS=$?
|
|
|
|
if [[ $STATUS -eq 0 ]]
|
|
then
|
|
echo "Found native dialogs. Please avoid using the native dialogs."
|
|
exit 1;
|
|
|
|
else
|
|
echo "OK. No native dialogs found."
|
|
exit 0
|
|
fi
|