diff --git a/.travis.yml b/.travis.yml index e969bae..c2ce828 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,11 @@ os: - osx - linux +addons: + apt: + packages: + - libsecret-1-dev + before_install: - if [ $TRAVIS_OS_NAME == "linux" ]; then export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0; diff --git a/package.json b/package.json index 713491d..18b7ec5 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-coverage-gutters", "displayName": "Coverage Gutters", "description": "Display test coverage generated by lcov - works with many languages", - "version": "1.1.2", + "version": "1.1.3", "license": "MIT", "repository": { "type": "git", diff --git a/src/lcov.ts b/src/lcov.ts index 5e169ee..8bf6c96 100644 --- a/src/lcov.ts +++ b/src/lcov.ts @@ -25,7 +25,7 @@ export class Lcov { return new Promise((resolve, reject) => { this.glob.find( `**/${this.configStore.lcovFileName}`, - { ignore: "**/node_modules/**", cwd: this.vscode.getRootPath(), realpath: true }, + { ignore: "**/node_modules/**", cwd: this.vscode.getRootPath(), realpath: true, dot: true }, (err, files) => { if (!files || !files.length) { return reject("Could not find a Lcov File!"); } return resolve(files); @@ -37,7 +37,7 @@ export class Lcov { return new Promise((resolve, reject) => { this.glob.find( `**/coverage/**/index.html`, - { ignore: "**/node_modules/**", cwd: this.vscode.getRootPath(), realpath: true }, + { ignore: "**/node_modules/**", cwd: this.vscode.getRootPath(), realpath: true, dot: true }, (err, files) => { if (!files || !files.length) { return reject("Could not find a Lcov Report file!"); } return resolve(files); diff --git a/src/reporter.ts b/src/reporter.ts index 1683123..28f0b7c 100644 --- a/src/reporter.ts +++ b/src/reporter.ts @@ -1,7 +1,7 @@ import {Request} from "./wrappers/request"; const EXT_NAME = "vscode-coverage-gutters"; -const EXT_VERSION = "1.1.2"; +const EXT_VERSION = "1.1.3"; export class Reporter { private readonly cid: string; diff --git a/test/lcov.test.ts b/test/lcov.test.ts index 0ace00a..fabf95b 100644 --- a/test/lcov.test.ts +++ b/test/lcov.test.ts @@ -49,6 +49,7 @@ suite("Lcov Tests", function() { globImpl.find = function(path, options, cb) { assert.equal(path, "**/test.ts"); assert.equal(options.ignore, "**/node_modules/**"); + assert.equal(options.dot, true); return cb(null, ["1", "2"]); }; const lcov = new Lcov(