Skip to content

Prevent building model as a place and vice versa #736

Description

@Dekkonot

Currently, we trust the user to choose their own extension when building. However, this allows mistakes because people can build models as place files or vice versa.

Given that this should be as easy as checking whether the root of a file is a DataModel, it should be trivial to check whether the correct type of file is being built for the specified extension. We should probably do that.

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

    scope: cliRelevant to the Rojo CLIsize: smallstatus: in-progressSomeone is working on this last time we checked.type: enhancementFeature or improvement that should potentially happen

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions