Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task done
Decodetalkers opened this issue Jul 24, 2023 · 4 comments
Closed
1 task done

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

Decodetalkers opened this issue Jul 24, 2023 · 4 comments

Comments

@Decodetalkers
Copy link
Contributor

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

@Decodetalkers Decodetalkers changed the title save pubspec.yaml , it found the absolute path of flutter[BUG] <title> save pubspec.yaml , it found the absolute path of flutter Jul 24, 2023
@Decodetalkers
Copy link
Contributor Author

image
the tool is like this, like what rustup do

@sidlatau
Copy link
Collaborator

Hi,

It seems there hasn’t been any activity on this issue for over a year, and it doesn’t appear to be directly related to this plugin. If there’s still something to address, feel free to comment or open a pull request.

Thanks!

@Decodetalkers
Copy link
Contributor Author

Hi,

It seems there hasn’t been any activity on this issue for over a year, and it doesn’t appear to be directly related to this plugin. If there’s still something to address, feel free to comment or open a pull request.

Thanks!

No, please do not close it. It is the problem of this plugin

I mean there is no need to find the absolute path of flutter and dart. My program uses arg 0 to call the flutter and dart, then it causes this program.

@Decodetalkers
Copy link
Contributor Author

#354 I have made this pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants