Skip to content

Fornax generates a ghost file #90

Open
@oluwandabira

Description

@oluwandabira

Describe the bug
Fornax is generating output for a generator with no generate function.

To Reproduce
Steps to reproduce the behaviour:

  1. fornax new
  2. Delete everything in contact.fsx
  3. fornax build
  4. See contact.html generated with content in it.

Expected behaviour
An error occurs, like say "Fornax couldn't detect a generator in this file" or something to that effect.

Environment (please complete the following information):

  • OS: Windows 10 / Ubuntu 20.4
  • Ionide version: 5.5.5
  • VSCode version: 1.56.1
  • dotnet SDK version: 5.0.203

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions