cleanup: Always use single quotes
We have made good progress with transitioning to the new style, to the point where we can complete it with a final push. Start with changing the remaining places that still use double quotes. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2866>
This commit is contained in:

committed by
Marge Bot

parent
77fdfba45c
commit
6a22af83dc
@@ -657,7 +657,7 @@ export const MessageListSection = GObject.registerClass({
|
||||
|
||||
moveMessage(message, index, animate) {
|
||||
if (!this._messages.includes(message))
|
||||
throw new Error(`Impossible to move untracked message`);
|
||||
throw new Error('Impossible to move untracked message');
|
||||
|
||||
let listItem = message.get_parent();
|
||||
|
||||
@@ -688,7 +688,7 @@ export const MessageListSection = GObject.registerClass({
|
||||
const messages = this._messages;
|
||||
|
||||
if (!messages.includes(message))
|
||||
throw new Error(`Impossible to remove untracked message`);
|
||||
throw new Error('Impossible to remove untracked message');
|
||||
|
||||
let listItem = message.get_parent();
|
||||
listItem._connectionsIds.forEach(id => message.disconnect(id));
|
||||
|
Reference in New Issue
Block a user