From f2b689f578989db8384a5cbecfc95a4e97c2ce92 Mon Sep 17 00:00:00 2001 From: jonschlinkert Date: Wed, 29 Apr 2015 16:51:41 -0400 Subject: [PATCH] lint --- index.js | 7 ++++++- test.js | 5 +++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index c60250f..3b133c0 100644 --- a/index.js +++ b/index.js @@ -63,4 +63,9 @@ function resolve(options) { var cwd = options.cwd ? path.resolve(options.cwd) : process.cwd(); return path.resolve(cwd, options.path || '.git/config'); } -module.exports.resolve = resolve; \ No newline at end of file + +/** + * Expose `resolve` + */ + +module.exports.resolve = resolve; diff --git a/test.js b/test.js index 29d7b0f..fbebc0a 100644 --- a/test.js +++ b/test.js @@ -7,7 +7,8 @@ 'use strict'; -var should = require('should'); +/* deps:mocha */ +require('should'); var git = require('./'); @@ -61,4 +62,4 @@ describe('resolve:', function () { git.resolve({path: '.config', cwd: '/opt/config'}) .should.equal(require('path').resolve('/opt/config','.config')) }) -}) \ No newline at end of file +})