Skip to content

';' errouneously appended during chained script blocks #15

@pete3n

Description

@pete3n

This code:

script = pkgs.writeShellScriptBin "script_name" (
if condition then # sh
''
#!/usr/bin/env sh
''
else # sh
''
#!/usr/bin/env sh
''

Becomes:

script = pkgs.writeShellScriptBin "script_name" (
if condition then # sh
''
#!/usr/bin/env sh
'';
else # sh
''
#!/usr/bin/env sh
''

After formatting, which is invalid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions