Skip to content

ifExists seems to not working? #29

@tunnckoCore

Description

@tunnckoCore

Super weird... as always :D

{%= ifExists([process.cwd() + '/.verb.head.md'], include(process.cwd() + '/.verb.head.md')) %}

Fails by saying that it cannot include .verb.head.md beacause it's not found.

~~I forgot, where is exactly this helper? ~~

Found it, it's https://github.com/verbose/verb-repo-helpers.

edit: Oooh. Got it, it's because include is also called, no matter of the if condition.

/cc @doowb @jonschlinkert

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