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
@ -174,7 +174,7 @@ export async function disableHelperAutoExit() {
|
||||
export function defineScriptEvent(name, description) {
|
||||
Shell.PerfLog.get_default().define_event(`script.${name}`,
|
||||
description,
|
||||
"");
|
||||
'');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -222,7 +222,7 @@ function _collect(scriptModule, outputFile) {
|
||||
Gio.FileCreateFlags.NONE,
|
||||
null);
|
||||
let out = Gio.BufferedOutputStream.new_sized(raw, 4096);
|
||||
Shell.write_string_to_stream(out, "{\n");
|
||||
Shell.write_string_to_stream(out, '{\n');
|
||||
|
||||
Shell.write_string_to_stream(out, '"events":\n');
|
||||
Shell.PerfLog.get_default().dump_events(out);
|
||||
|
Reference in New Issue
Block a user