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

Atom Plugin Files Don't Save File Path #10

Open
Joshua2000B opened this issue Jul 11, 2022 · 1 comment
Open

Atom Plugin Files Don't Save File Path #10

Joshua2000B opened this issue Jul 11, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Joshua2000B
Copy link
Member

When saving elements in the Atom plugin file, the source_file_path attribute does not contain the full file path, just the file name.

@Joshua2000B Joshua2000B added the bug Something isn't working label Jul 11, 2022
@psybers
Copy link

psybers commented Apr 27, 2023

That is probably this line:

return this.editor.buffer.file.getBaseName();

getBaseName() just gives you a filename (with no path). I am not sure what type file is, but that probably is the full path if you just turn it into a string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants