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:
Florian Müllner
2023-08-07 00:34:20 +02:00
committed by Marge Bot
parent 77fdfba45c
commit 6a22af83dc
47 changed files with 164 additions and 165 deletions

View File

@@ -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));