Skip to content

Commit

Permalink
feat(pre-receive): Use bidsschematools pre-receive hook
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Mar 1, 2024
1 parent 70e46dc commit dfe57e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/datalad/hooks/pre-receive
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function main() {

# Run validation (with .bidsignore if we found it above)
{ echo "${dataset_description}${bidsignore}" && echo "0001" && git ls-tree --name-only -r "${newref}"; } | \
/srv/node_modules/.bin/bids-validator --filenames -
/usr/local/bin/bst pre-receive-hook
if [[ "$?" != 0 ]]; then
echo ""
echo "-------------------------------------------------------------------------"
Expand Down

0 comments on commit dfe57e1

Please sign in to comment.