Skip to content

Is that ok to ignore the workplace case sensitive on macOS  #1133

Closed
@ccqpein

Description

@ccqpein

I find in macOS, path is actually case insensitive.

And I find exercism submit actually check the case sensitive on macOS.

cli/workspace/workspace.go

Lines 124 to 131 in 8f1e8f2

if !strings.HasPrefix(s, ws.Dir) {
var err = fmt.Errorf("not in workspace")
if runtime.GOOS == "darwin" {
err = fmt.Errorf("%w: directory location may be case sensitive: workspace directory: %s, "+
"submit path: %s", err, ws.Dir, s)
}
return "", err
}

Can we ignore this case sensitive and just submit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions