mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[no-issue] ban env (#4595)
* ban env * ban env * Update protractor.conf.js * Update test-e2e-lib.sh
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
show_help() {
|
||||
echo "Usage: ./scripts/lint.sh -ban word_to_ban"
|
||||
echo ""
|
||||
echo "-ban (optional)"
|
||||
}
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
cd "$DIR/../"
|
||||
|
||||
@@ -22,3 +29,10 @@ npm run spellcheck || exit 1
|
||||
echo "====== styleLint ====="
|
||||
|
||||
npm run stylelint || exit 1
|
||||
|
||||
echo "====== exclude-word ====="
|
||||
|
||||
if grep "envalfresco" . -R --exclude-dir={node_modules,.history,.idea,scripts}; then
|
||||
echo not permitted word
|
||||
exit 1
|
||||
fi
|
||||
|
@@ -111,7 +111,6 @@ then
|
||||
do :; done
|
||||
|
||||
NEXT_VERSION=${NEXT_VERSION}-beta${NEXT_BETA_VERSION[1]}
|
||||
|
||||
fi
|
||||
|
||||
echo $NEXT_VERSION
|
||||
|
Reference in New Issue
Block a user