Skip to content

Commit

Permalink
fix: add logging to sbt-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
orsagie committed Jun 12, 2019
1 parent 4ff99b4 commit c724c17
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"snyk-python-plugin": "1.10.2",
"snyk-resolve": "1.0.1",
"snyk-resolve-deps": "4.0.3",
"snyk-sbt-plugin": "2.2.0",
"snyk-sbt-plugin": "2.3.3",
"snyk-tree": "^1.0.0",
"snyk-try-require": "1.3.1",
"source-map-support": "^0.5.11",
Expand Down
2 changes: 1 addition & 1 deletion src/cli/args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ alias.t = 'test';

// The -d flag enables printing the messages for predefined namespaces.
// Additional ones can be specified (comma-separated) in the DEBUG environment variable.
const DEBUG_DEFAULT_NAMESPACES = ['snyk', 'snyk-gradle-plugin'];
const DEBUG_DEFAULT_NAMESPACES = ['snyk', 'snyk-gradle-plugin', 'snyk-sbt-plugin'];

function dashToCamelCase(dash) {
return dash.indexOf('-') < 0
Expand Down
1 change: 1 addition & 0 deletions test/acceptance/cli.acceptance.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const after = tap.runOnly ? only : test;

// Should be after `process.env` setup.
import * as plugins from '../../src/lib/plugins';
import {Options} from '../../src/lib/plugins/types';

// @later: remove this config stuff.
// Was copied straight from ../src/cli-server.js
Expand Down

0 comments on commit c724c17

Please sign in to comment.