You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

comforter-cli

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

comforter-cli - npm Package Compare versions

Comparing version

to
0.4.1

7

lib/index.js

@@ -42,4 +42,7 @@ #! /usr/bin/env node

// set coverage directly if supplied
if (argv.coverage) {
data.coverage = argv.coverage;
if (argv.totalLines) {
data.coverage = {
totalCovered: argv.totalCovered,
totalLines: argv.totalLines
}
}

@@ -46,0 +49,0 @@

{
"name": "comforter-cli",
"version": "0.4.0",
"version": "0.4.1",
"description": "cli tool for communicating with comforter instance",

@@ -5,0 +5,0 @@ "scripts": {

@@ -7,5 +7,5 @@ ## Comforter CLI tool

`npm install -g comforter-cli`
`comforter-cli (--path <path-to-lcov-info-file> OR --coverage <coverage%>) --branch <branch-name> --project <project-id> --commit <sha> --apiKey <key> [--zip <path-to-html-coverage>]`
`comforter-cli (--path <path-to-lcov-info-file> OR --totalLines <lines> --totalCovered <lines>) --name <project-name> --branch <branch-name> --project <project-id> --commit <sha> --apiKey <key> [--zip <path-to-html-coverage>]`
* [x] Accept path to generated coverage html and zip and send to Comforter
* [ ] Use `npm cli` to avoid running tests in exec, allowing coverage and better testing (see [jshint](https://github.com/jshint/jshint) repo for examples)