Skip to content

[CLI] "@" character removed when it's first path character with --buildΒ #62373

Description

@GongT

πŸ”Ž Search Terms

"cli", "tsc", "build mode", "path"

πŸ•— Version & Regression Information

  • This changed between versions 3.0 and 3.1 (LOL) and continue to 5.9.2

⏯ Playground Link

https://github.com/GongT/issues/tree/typescript-path-at-char

πŸ’» Code

# all this is ok
tsc -p @scoped/package/src
tsc -b xxx@yyy/package/src
cd @scoped ; tsc -p package/src

# this is not
tsc -b @scoped/package/src

πŸ™ Actual behavior

error TS5083: Cannot read file 'scoped/package/src'.

πŸ™‚ Expected behavior

It should read @scoped/package/src(/tsconfig.json)

Additional information about the issue

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: tsc -bIssues related to build modeHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions