Skip to content
This repository has been archived by the owner on Dec 26, 2017. It is now read-only.

Commit

Permalink
Look for 'compact' in 'utils'
Browse files Browse the repository at this point in the history
  • Loading branch information
jmerrifield committed Jun 21, 2015
1 parent dadd041 commit 94884a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zfs.js
Expand Up @@ -9,7 +9,7 @@ function zfs(args, callback) {
cp.execFile(zfsBin, args, {maxBuffer: 8000000}, function (err, stdout, stderr) {
if (callback && typeof callback === 'function') {
if (err) {
err.message = compact(err.message.split('\n')).join('; ').trim();
err.message = util.compact(err.message.split('\n')).join('; ').trim();
callback(err);
} else {
callback(null, stdout);
Expand Down

0 comments on commit 94884a6

Please sign in to comment.