diff --git a/lib/index.js b/lib/index.js index cf1470f..3293af2 100644 --- a/lib/index.js +++ b/lib/index.js @@ -27,7 +27,7 @@ const makeDebug = require('debug') * @returns {asserts peer is { db: PPPPPDB }} */ function assertDBPlugin(peer) { - if (!peer.db) throw new Error('gc plugin requires ppppp-db plugin') + if (!peer.db) throw new Error('"gc" plugin requires "db" plugin') } /** @@ -35,7 +35,7 @@ function assertDBPlugin(peer) { * @returns {asserts peer is { goals: PPPPPGoal }} */ function assertGoalsPlugin(peer) { - if (!peer.goals) throw new Error('gc plugin requires ppppp-goals plugin') + if (!peer.goals) throw new Error('"gc" plugin requires "goals" plugin') } /**