mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-26 12:43:30 +00:00
Use double quotes for identifiers in error messages
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
exports.stringToArrayBuffer = (string) => {
|
||||
if (typeof string !== 'string') {
|
||||
throw new TypeError('`string` must be a string');
|
||||
throw new TypeError('"string" must be a string');
|
||||
}
|
||||
|
||||
const array = new Uint8Array(string.length);
|
||||
|
||||
Reference in New Issue
Block a user