Skip to content

Commit

Permalink
constistent styling
Browse files Browse the repository at this point in the history
  • Loading branch information
okdistribute committed Dec 15, 2016
1 parent 137d28b commit 4dd6b19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/helpers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var os = require('os')
var path = require('path')
var mkdirp = require('mkdirp')
var rimraf = require('rimraf')
var asDatKey = require('dat-key-as').string
var datKeyAs = require('dat-key-as')
var recursiveReadSync = require('recursive-readdir-sync')
var Dat = require('dat-node')
var hypercore = require('hypercore')
Expand Down Expand Up @@ -57,7 +57,7 @@ function matchDatLink (str) {
if (!match) return false
var key
try {
key = asDatKey(match[0].trim())
key = datKeyAs.str(match[0].trim())
} catch (e) {
return false
}
Expand Down

0 comments on commit 4dd6b19

Please sign in to comment.