mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 20:50:55 +00:00
13 lines
239 B
Bash
Executable File
13 lines
239 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# grep for \t in the generators
|
|
RESULT=`find modules -name "*.java" | xargs grep $'\t'`
|
|
|
|
echo -e "$RESULT"
|
|
|
|
if [ "$RESULT" != "" ]; then
|
|
echo "Java files contain tab '\\t'. Please remove it and try again."
|
|
exit 1;
|
|
fi
|
|
|