Skip to content

Commit

Permalink
Merge pull request #34 from screwdriver-cd/Vendored
Browse files Browse the repository at this point in the history
fix: Remove vendored code as it was patched upstream
  • Loading branch information
d2lam authored Mar 8, 2018
2 parents 5e73bac + 774b14b commit aee37b1
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 1,168 deletions.
4 changes: 0 additions & 4 deletions bin/server
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ const config = require('config');
const strategyConfig = config.get('strategy');
let strategyModule = `catbox-${strategyConfig.plugin}`;

// Use the vendor package until resolution of PR https://github.com/fhemberger/catbox-s3/pull/55
if (strategyConfig.plugin === 's3') {
strategyModule = `../vendor/${strategyModule}`;
}
// eslint-disable-next-line import/no-dynamic-require
const strategy = require(strategyModule);
const cache = Object.assign({ engine: strategy }, strategyConfig[strategyConfig.plugin]);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"boom": "^4.0.0",
"catbox": "^7.1.2",
"catbox-memory": "^2.0.3",
"catbox-s3": "^2.0.0",
"catbox-s3": "^3.0.0",
"config": "^1.21.0",
"good": "^7.0.2",
"good-console": "^6.2.0",
Expand Down
21 changes: 0 additions & 21 deletions vendor/catbox-s3/LICENSE.txt

This file was deleted.

80 changes: 0 additions & 80 deletions vendor/catbox-s3/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/catbox-s3/index.js

This file was deleted.

Loading

0 comments on commit aee37b1

Please sign in to comment.