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 luis:version:export "\n" instead of line breaks #1307

@jane-bolton

Description

@jane-bolton

Versions

  • What CLI version are you using.
    4.14.1
  • What Nodejs version are you using
    14.8.0
  • What command-line interpreters are you using
    CMD, Powershell
  • What OS are you using
    Windows 10

Describe the bug

bf luis:version:export --exportLU returns a .lu file with "\n" literal instead of actual line breaks. The file cannot be used until the "\n" are replaced with actual line breaks.

To Reproduce

Steps to reproduce the behavior:

  1. Run bf luis:version:export --exportLU... for an existing LUIS application
  2. View file
  3. All line breaks are removed and in their place, the literal string "\n" appears

Expected behavior

CLI command should return an immediately usable file.

Screenshots

Left-hand side shows the original file. Right-hand shows file after application is exported via CLI.
image

Additional context

This does not occur with the JSON CLI export, or when exporting from luis.ai

[bug]

Metadata

Metadata

Assignees

Labels

Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.needs-triageThe issue has just been created and it has not been reviewed by the team.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions