Skip to content

Publish should display an interactive warning if host.json is not found in current directory #53

@lindydonna

Description

@lindydonna

You can accidentally publish a function to a Function App if you happen to be in the function folder.

Should do the following:

  • Look for host.json in the current folder
  • If not found, display the following message: Warning: host.json not found in current folder. Proceed with publishing the current directory to Azure Function App $name?
  • Add --ignore command line argument (-i for short) to not prompt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions