Skip to content

Commit

Permalink
Merge pull request #240 from snyk/fix/upgrade-deps
Browse files Browse the repository at this point in the history
fix: upgrade snyk/config to 3.0.0
  • Loading branch information
ivanstanev authored Nov 27, 2019
2 parents a7b6bfe + 6556fdd commit 568fc9d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 9 deletions.
28 changes: 22 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"lru-cache": "^5.1.1",
"needle": "^2.4.0",
"response-time": "^2.3.2",
"snyk-config": "^2.2.0",
"snyk-config": "3.0.0",
"snyk-docker-plugin": "1.34.0",
"source-map-support": "^0.5.9",
"tslib": "^1.9.3",
Expand Down
4 changes: 2 additions & 2 deletions src/common/config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as uuidv4 from 'uuid/v4';
import * as configFactory from 'snyk-config';
import { loadConfig } from 'snyk-config';

const config = configFactory(__dirname + '/../..', {
const config: Record<string, any> = loadConfig(__dirname + '/../..', {
secretConfig: process.env.CONFIG_SECRET_FILE,
});

Expand Down

0 comments on commit 568fc9d

Please sign in to comment.