aboutsummaryrefslogtreecommitdiff
path: root/test/input/issue-1482/beautify.js
blob: 14054e9820ed1f30a01eebd96eee4c6728d8b23f (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if (x) foo();

if (x) foo(); else baz();

if (x) foo(); else if (y) bar(); else baz();

if (x) if (y) foo(); else bar(); else baz();

if (x) foo(); else if (y) bar(); else if (z) baz(); else moo();

function f() {
    if (x) foo();
    if (x) foo(); else baz();
    if (x) foo(); else if (y) bar(); else baz();
    if (x) if (y) foo(); else bar(); else baz();
    if (x) foo(); else if (y) bar(); else if (z) baz(); else moo();
}
services/lightdm.scm (lightdm-shepherd-service) * gnu/services/mail.scm (opensmtpd-shepherd-service) * gnu/services/sddm.scm (sddm-shepherd-service) * gnu/services/ssh.scm (lsh-shepherd-service, openssh-shepherd-service) * gnu/services/xorg.scm (slim-shepherd-service, gdm-shepherd-service) * gnu/services/base.scm (greetd-shepherd-services): Add PAM requirement. * gnu/system/pam.scm (/etc-entry, extend-configuration, pam-root-service-type, pam-root-service) * gnu/services/authentication.scm (pam-ldap-pam-service) * gnu/services/base.scm (pam-limits-service-type) (greetd-pam-service) * gnu/services/desktop.scm (pam-gnome-keyring) * gnu/services/kerberos.scm (pam-krb5-pam-service) * gnu/services/pam-mount.scm (pam-mount-pam-service): Adapt to use pam-extension. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Josselin Poiret 2022-06-17gnu: base: Add greetd-service-type....* gnu/services/base.scm (greetd-service-type): New variable * gnu/services/base.scm (greetd-configuration): New data type * gnu/services/base.scm (greetd-terminal-configuration): New data type * gnu/services/base.scm (greetd-agreety-session): New data type * gnu/services/base.scm (pam-limits-service-type): Should be aware of greetd PAM service * gnu/services/pam-mount.scm (pam-mount-pam-service): Should be aware of greetd PAM service Signed-off-by: Lars-Dominik Braun <ldb@leibniz-psychology.org> muradm 2022-01-17services: pam-mount: Add support for sddm login manager....I noticed that pam_mount mounts work fine when loging into a textual session, but not when using sddm. This patch fixes this problem by ensuring that pam_mount.so is included in /etc/pam.d/sddm config file. * gnu/services/pam-mount.scm (pam-mount-pam-service): Add sddm to the list of pam services. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Nick Zalutskiy