mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-23 01:48:13 +01:00
Upgrade Prettier
This commit is contained in:
committed by
Scott Nonnenberg
parent
d14c8e2277
commit
0d3b390129
@@ -1198,9 +1198,7 @@ MessageReceiver.prototype.extend({
|
||||
|
||||
if (!_.isNumber(size)) {
|
||||
throw new Error(
|
||||
`downloadAttachment: Size was not provided, actual size was ${
|
||||
data.byteLength
|
||||
}`
|
||||
`downloadAttachment: Size was not provided, actual size was ${data.byteLength}`
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1251,11 +1249,7 @@ MessageReceiver.prototype.extend({
|
||||
|
||||
if (envelopeTimestamp !== decryptedTimestamp) {
|
||||
throw new Error(
|
||||
`Timestamp ${
|
||||
decrypted.timestamp
|
||||
} in DataMessage did not match envelope timestamp ${
|
||||
envelope.timestamp
|
||||
}`
|
||||
`Timestamp ${decrypted.timestamp} in DataMessage did not match envelope timestamp ${envelope.timestamp}`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user