Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

bf orchestrator:create does not handle nested imports #1271

Description

Versions

@microsoft/bf-orchestrator-cli 4.14.1

Describe the bug

If you have multiple level imports, then create will fail because it cannot find the nested imports.

To Reproduce

Steps to reproduce the behavior:

  1. Create a.lu which imports b.lu which imports c.lu
  2. Call orchestrator:create -i a.lu
  3. You will get an error indicating it could not find the source for c.lu

Expected behavior

Multiple level imports should work.

Additional context

The issue is that findLUFiles returns an id that is not the full path and then that is used as a basedir for resolving the next imports.

[bug]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugIndicates an unexpected problem or an unintended behavior.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions