Skip to content

Commit

Permalink
Small bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
luisfavila committed Oct 6, 2019
1 parent 6a74097 commit 620e094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dns/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function (cloudflare) {
*/
function fromString(input) {
if (Array.isArray(input)) return input.map(i => fromString(i))
const [, , type] = input.split(' ').split('\t')
const [, , type] = input.split(' ').join('\t').split('\t')
return getType(type).fromString(input)
}

Expand Down

0 comments on commit 620e094

Please sign in to comment.