Skip to content

save pubspec.yaml , it found the absolute path of flutter #275

@Decodetalkers

Description

@Decodetalkers

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Emm. this is because I made a tool to auto config my flutter enviroment, link is here https://github.com/Decodetalkers/flutterup

It is like rustup, check the arg[0], and finally run the right target, to provide a package named flutter for me to compile package from aur, because these packages mark flutter as their dependenies, and as you know, flutter need a .git folder , it will not run property when in root dir, so I make this one. the flutter, dart, and flutterup target are all flutterup, and this causes the problem under.

image

Emm, if it do not need to find the absolute path? I do not know where the code is, and what is this logic for , so I ask here

Expected Behavior

I think absolute path maybe not needed , I think

Steps To Reproduce

use the package flutterup as flutter.. then it will reproduce

Environment

- OS:archlinux
- Flutter version: 3.10
- Is flutter in $PATH:Yes, and maybe not the real flutter
- neovim version:0.9.0

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions