Skip to content

Consistency in y/n prompts #141

Closed
Closed
@carlynorama

Description

@carlynorama

Some accept just y or just Y some both. (swifty-install.sh, the intro to the package accepts both.)

MacOS.swift and Linux.swift go their own ways in asking for confirmation (line 121, 135 respectively) in their use() functions for overwriting symlinks, only accepting y, but not warning on a Y.

perhaps these functions should be using

promptForConfirmation(defaultBehavior: Bool) from Utils.swift (line 19)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    release candidateThis issue is a candidate for the next release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions