Skip to content

Scala CLI does not detect if is run as scala when installed using coursier #1307

Closed
@romanowski

Description

@romanowski

Version(s)

0.1.12

Describe the bug
Scala CLI does not detect if is run as scala when installed using coursier

To Reproduce

Install Scala CLI as scala-cli-sip using following command:

cs install --channel https://gist.githubusercontent.com/romanowski/f188a22999bbfd90d5ae7c054d41a0ae/raw/25e0f12491b65c4af5a9166fccf9cffbd5143e3e/scala-cli-sip-channel.json scala-cli-sip

Then scala-cli publish --help should fail, but it prints the help.

Expected behaviour
Scala CLI should detect if installed in the SIP mode when using coursier.

Metadata

Metadata

Assignees

Labels

SIP-46All the issues related to SIP-46 to turn Scala CLI into the official scala runner command.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions