Skip to content

Error: git ls-tree exited with status 128: fatal: not a git repository #403

Open
@vitalics

Description

@vitalics

Hi all, I run the command ttsc to build an application for the local machine and CI (we use AWS codebuild).
For CI run we faced the issue (screenshot attached)
image

I analyze where git checking is executed and find the next function:

function getGitRepositoryRoot(packageRoot: string) {

my idea:
do not check for the existing .git folder

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