Skip to content

Instantly share code, notes, and snippets.

@mathiasrw
Created March 15, 2017 03:21
Show Gist options
  • Save mathiasrw/a399069337d5957a8a429c1b305e246a to your computer and use it in GitHub Desktop.
Save mathiasrw/a399069337d5957a8a429c1b305e246a to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
echo Testing if any merge problems in the code
grep -r --exclude-dir=node_modules "<<<<<<<" ./folderToSearch && (echo "Merge problem found" && exit 1)
echo Tests OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment