Skip to content

Commit

Permalink
fix mixed quote and unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
popomore authored and phated committed Sep 27, 2016
1 parent cde3e6b commit ee19a8e
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 85 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Object.defineProperty(File.prototype, 'contents', {
},
set: function(val) {
if (!isBuffer(val) && !isStream(val) && !isNull(val)) {
throw new Error("File.contents can only be a Buffer, a Stream, or null.");
throw new Error('File.contents can only be a Buffer, a Stream, or null.');
}
this._contents = val;
}
Expand Down
Loading

0 comments on commit ee19a8e

Please sign in to comment.