style: Fix brace style
Opening braces should be on the same line as the associated statement, and only be omitted if both surrounding blocks are one-liners. Partially spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/607
This commit is contained in:
@ -103,8 +103,7 @@ function spawnApp(argv) {
|
||||
//
|
||||
// Runs @argv in the background. If launching @argv fails,
|
||||
// this will throw an error.
|
||||
function trySpawn(argv)
|
||||
{
|
||||
function trySpawn(argv) {
|
||||
var success, pid;
|
||||
try {
|
||||
[success, pid] = GLib.spawn_async(null, argv, null,
|
||||
|
Reference in New Issue
Block a user