diff --git a/lib/bin/repl.js b/lib/bin/repl.js index 92a66009d..f89e4f3af 100644 --- a/lib/bin/repl.js +++ b/lib/bin/repl.js @@ -11,9 +11,15 @@ const _ = require('lodash'); // eslint-disable-line import/no-extraneous-depende const { sql } = require('slonik'); const container = require('../util/default-container'); +const Problem = require('../util/problem'); (async () => { - const context = { ..._.omit(container, 'with'), container, sql }; + const context = { + ..._.omit(container, 'with'), + container, + sql, + Problem, + }; const replGlobals = Object.keys(context); try {