Skip to content

Commit

Permalink
fix(lint): unnecessary escape
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Feb 1, 2017
1 parent 8e85bd7 commit 3c65677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const base58 = require('bs58')
const multihash = require('multihashes')

const urlPattern = /^https?:\/\/[^\/]+\/(ip(f|n)s)\/((\w+).*)/
const urlPattern = /^https?:\/\/[^/]+\/(ip(f|n)s)\/((\w+).*)/
const pathPattern = /^\/(ip(f|n)s)\/((\w+).*)/

function isMultihash (hash) {
Expand Down

0 comments on commit 3c65677

Please sign in to comment.