aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristophe Porteneuve <[email protected]>2013-11-15 08:38:08 +0100
committerChristophe Porteneuve <[email protected]>2013-11-15 08:38:08 +0100
commitaf38f79677abc820cbb24f5728672cf28c3c34c3 (patch)
tree688e9cc0265db045a855a3c1d5512535dfb599de /test
parenta591244f4467500b29ce1edb313e87dfd2e12f5b (diff)
downloadnode-coveralls-af38f79677abc820cbb24f5728672cf28c3c34c3.tar.xz
node-coveralls-af38f79677abc820cbb24f5728672cf28c3c34c3.zip
Stupid typo…
Diffstat (limited to 'test')
-rw-r--r--test/getOptions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/getOptions.js b/test/getOptions.js
index c1abc1f..d0c4173 100644
--- a/test/getOptions.js
+++ b/test/getOptions.js
@@ -343,7 +343,7 @@ function ensureLocalGitContext(options) {
};
} else if (options.detached) {
gitHead = path.join(gitDir, 'HEAD');
- ontent = fs.readFileSync(gitHead, 'utf-8').trim();
+ content = fs.readFileSync(gitHead, 'utf-8').trim();
var b = (content.match(/^ref: refs\/heads\/(\S+)$/) || [])[1];
if (!b) {
id = b;