We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ea6f90 commit d1d38a0Copy full SHA for d1d38a0
scripts/checkstyle
@@ -28,8 +28,8 @@ do
28
29
if [[ "$FORMATTED_NB" != "$NB" ]];
30
then
31
- echo "Notebook $f is not correctly formatted"
32
- diff --color=always --suppress-common-lines --minimal --side-by-side $NB $FORMATTED_NB
+ echo "Notebook $f is not correctly formatted. See diff above for more details."
+ diff --color=always --suppress-common-lines --minimal --side-by-side <(echo "$NB") <(echo "$FORMATTED_NB")
33
exit 1
34
fi
35
done
0 commit comments