Skip to content

Commit

Permalink
log name
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Apr 29, 2024
1 parent 7454ea6 commit f580554
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/node_modules/pouchdb-core/src/parseAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import PouchDB from './constructor';
import { guardedConsole, hasLocalStorage } from 'pouchdb-utils';

function parseAdapter(name, opts) {
console.log('parseAdapter()', name);
var match = name.match(/^([a-z-]*):\/\/(.*)$/);
if (match) {
// the http adapter expects the fully qualified name
Expand Down
5 changes: 5 additions & 0 deletions packages/node_modules/pouchdb-utils/src/isDesignId.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
function isDesignId(id) {

Check failure on line 1 in packages/node_modules/pouchdb-utils/src/isDesignId.js

View workflow job for this annotation

GitHub Actions / lint

'isDesignId' is defined but never used
return id.startsWith('_design/');
}

export default isRemote;

Check failure on line 5 in packages/node_modules/pouchdb-utils/src/isDesignId.js

View workflow job for this annotation

GitHub Actions / lint

'isRemote' is not defined

0 comments on commit f580554

Please sign in to comment.