Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mixu committed Oct 16, 2016
1 parent 56d6578 commit 618a14b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -12,6 +12,7 @@
## Changelog ## Changelog


- Looking for more committers! Let me know if you're interested; gr currently meets my fairly limited needs but I know it can become even more useful given a larger core team and/or a stronger vision around how it can support usage in a team working on multiple repos. - Looking for more committers! Let me know if you're interested; gr currently meets my fairly limited needs but I know it can become even more useful given a larger core team and/or a stronger vision around how it can support usage in a team working on multiple repos.
- `0.5.2`: `gr` now handles git submodules better, thanks @cojomojo!
- `0.5.1`: `gr discover` now handles paths outside the home directory as expected, thanks @farmerchris! - `0.5.1`: `gr discover` now handles paths outside the home directory as expected, thanks @farmerchris!
- `0.5.0`: `gr discover` is now an alias for `gr tag discover`; `gr discover` now accepts path arguments, shows progress during a scan and only scans five levels deep by default. Thanks @coderjoe for the patches! - `0.5.0`: `gr discover` is now an alias for `gr tag discover`; `gr discover` now accepts path arguments, shows progress during a scan and only scans five levels deep by default. Thanks @coderjoe for the patches!
- `0.4.1`: `gr status` now only invokes git once per directory, thanks @coderjoe! - `0.4.1`: `gr status` now only invokes git once per directory, thanks @coderjoe!
Expand Down
5 changes: 2 additions & 3 deletions lib/command-requirements.js
Expand Up @@ -12,8 +12,7 @@ module.exports = {
} catch (e) { } catch (e) {
// check if the directory is a submodule // check if the directory is a submodule
// addresses https://github.com/mixu/gr/issues/54 // addresses https://github.com/mixu/gr/issues/54
if (e.code === 'ENOTDIR' || e.code === 'ENOENT') if (e.code === 'ENOTDIR' || e.code === 'ENOENT') {
{
var parentPath = path.dirname(req.path); var parentPath = path.dirname(req.path);
try { try {
stat = fs.statSync(parentPath + '/.gitmodules'); stat = fs.statSync(parentPath + '/.gitmodules');
Expand All @@ -33,10 +32,10 @@ module.exports = {
try { try {
stat = fs.statSync(req.path + '/Makefile'); stat = fs.statSync(req.path + '/Makefile');
if (stat.isFile()) { if (stat.isFile()) {
return true;
} }
} catch (e) { } } catch (e) { }
if (req.format === 'human') { if (req.format === 'human') {
return true;
console.log('Skipped ' + req.path + ' as it does not have a ./Makefile file.'); console.log('Skipped ' + req.path + ' as it does not have a ./Makefile file.');
} }
return false; return false;
Expand Down

0 comments on commit 618a14b

Please sign in to comment.