Skip to content

Commit

Permalink
fix: don't overwrite sink with SinkFileSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
wkillerud committed Aug 1, 2024
1 parent 52de889 commit 22355ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ const EikService = class EikService {
});
}

if (customSink) {
if (sink) {
logger.info(`Using the provided sink ${sink.constructor.name}`);
} else if (customSink) {
logger.warn('The `customSink` option is deprecated and will be removed at a later stage. Use `sink` to remove this warning.');
sink = customSink;
} else if (config.get('sink.type') === 'mem') {
Expand Down

0 comments on commit 22355ff

Please sign in to comment.