We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c4fabf commit 1cde514Copy full SHA for 1cde514
lib/main.js
@@ -81,7 +81,7 @@ function read() {
81
v = Buffer.concat( [ string2buffer( this._sep ), v ] );
82
}
83
} else {
84
- err = new Error( 'invalid operation. Serialization function must return a string or Buffer. Value: `' + v + '`.' );
+ err = new Error( format( 'invalid operation. Serialization function must return a string or Buffer. Value: `%s`.', v ) );
85
86
87
if ( err ) {
0 commit comments