Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

codacy

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codacy - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

bin/codacy.js

@@ -15,3 +15,3 @@ #!/usr/bin/env node

program
.version('0.0.2')
.version('0.0.3')
.usage('[options]')

@@ -36,3 +36,3 @@ .option('-f, --format [value]', 'Coverage input format')

if (program.help) {
if (program.help === true) {
return;

@@ -39,0 +39,0 @@ }

@@ -11,3 +11,3 @@ (function (logger, exec, Q) {

var gitCommit = process.env.process.env.CODACY_GIT_COMMIT;
var gitCommit = process.env.CODACY_GIT_COMMIT;

@@ -14,0 +14,0 @@ gitCommit = gitCommit || process.env.TRAVIS_COMMIT || process.env.DRONE_COMMIT || process.env.GIT_COMMIT || process.env.CIRCLE_SHA1 || process.env.CI_COMMIT_ID || process.env.WERCKER_GIT_COMMIT;

{
"name": "codacy",
"version": "0.0.2",
"version": "0.0.3",
"description": "Code Coverage reporter for Codacy",

@@ -5,0 +5,0 @@ "keywords": [

@@ -44,3 +44,3 @@ (function (chai, Q, exec, Joi, parser, helper) {

});
it('should be able to parse lcov data', function (done) {
it.only('should be able to parse lcov data', function (done) {
var bodyObject = {

@@ -84,4 +84,4 @@ total: 92,

helper.setupMockEndpoint('1234', '4321', Joi.compile(bodyObject)).then(function () {
exec('cat ./test/mock/lcov.info | node ./bin/codacy.js --token 1234 --commit 4321', { timeout: 1000 }, function (err) {
helper.setupMockEndpoint('1234', '4321', Joi.compile(bodyObject)).then(function (nock) {
exec('cat ./test/mock/lcov.info | node ./bin/codacy.js --token 1234 --commit 4321', function (err, res) {
if (err) {

@@ -91,3 +91,4 @@ return done(err);

//nock.done(); //TODO: Need to check this, timing issues occur right now
console.log(res);
nock.done(); //TODO: Need to check this, timing issues occur right now
done();

@@ -94,0 +95,0 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc