Skip to content

template file path to lowercase fails to find and read the file #18

@heinzprantner

Description

@heinzprantner

If your project directory path conatins upper case characters the absolute path to the template file no longer matches the location.

Why toLowerCase()??

Error: Failed running template '/home/<USERNAME>/Development/typescript/yellicode/try01/resources/templates/b.js': 
File '/home/<USERNAME>/development/typescript/yellicode/try01/resources/models/petstore-simple.json' not found.

REF:

templateInfo.modelFile = path.join(dirName, configuredModelPath).toLowerCase();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions