Skip to content

Commit 1cde514

Browse files
committed
Auto-generated commit
1 parent 9c4fabf commit 1cde514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function read() {
8181
v = Buffer.concat( [ string2buffer( this._sep ), v ] );
8282
}
8383
} else {
84-
err = new Error( 'invalid operation. Serialization function must return a string or Buffer. Value: `' + v + '`.' );
84+
err = new Error( format( 'invalid operation. Serialization function must return a string or Buffer. Value: `%s`.', v ) );
8585
}
8686
}
8787
if ( err ) {

0 commit comments

Comments
 (0)