aboutsummaryrefslogtreecommitdiff
path: root/lib/detectLocalGit.js
diff options
context:
space:
mode:
authorNick Merwin <[email protected]>2015-12-10 12:23:26 -0800
committerNick Merwin <[email protected]>2015-12-10 12:23:26 -0800
commita73e333ace5aff211d5c392b60444355d02c3063 (patch)
treefbdc256cb40f126925b7b2312b5aead3062fb6cb /lib/detectLocalGit.js
parent62455e648f4e5020ac8ea2efe3bf09696f8d65c5 (diff)
parent624352aae91033a17ca7c83e3595ec970bcef1c5 (diff)
downloadnode-coveralls-a73e333ace5aff211d5c392b60444355d02c3063.tar.xz
node-coveralls-a73e333ace5aff211d5c392b60444355d02c3063.zip
Merge branch 'pr/110'
Diffstat (limited to 'lib/detectLocalGit.js')
-rw-r--r--lib/detectLocalGit.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/detectLocalGit.js b/lib/detectLocalGit.js
index 302cd44..773eb70 100644
--- a/lib/detectLocalGit.js
+++ b/lib/detectLocalGit.js
@@ -3,7 +3,7 @@ var path = require('path');
var REGEX_BRANCH = /^ref: refs\/heads\/(\w+)$/;
-module.exports = function detectLocalGit(knownCommit, knownBranch) {
+module.exports = function detectLocalGit() {
var dir = process.cwd(), gitDir;
while (path.resolve('/') !== dir) {
gitDir = path.join(dir, '.git');