jquery/download.jqueryui.com — pull request #7 by rxaviers (2012-08-14 21:06:03+00:00)
Title: Handling errors on grunt

We weren't handling errors on grunt previously. Now, on errors, it shows them and halts execution. Eg.

**SUCCESS case**
```
$ grunt prepare:master
path.existsSync is now called `fs.existsSync`.
Running "prepare:master" (prepare) task
Fetch updates for jquery-ui repo
>> Fetched repo
Checking out branch/tag: master
>> Done with checkout
Installing npm modules
>> Installed npm modules
Building jQuery UI
>> Done building
>> Copied release over to versions/jquery-ui-1.9.0pre/
```

**ERROR case**
```
$ grunt prepare:v1.9.0
path.existsSync is now called `fs.existsSync`.
Running "prepare:v1.9.0" (prepare) task
Fetch updates for jquery-ui repo
>> Fetched repo
Checking out branch/tag: v1.9.0
>> Error checking out - error: pathspec 'origin/v1.9.0' did not match any file(s) known to git.
```