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

Beautify not yet created files. #19

Closed
1 task done
Glavin001 opened this issue Jun 13, 2014 · 0 comments
Closed
1 task done

Beautify not yet created files. #19

Glavin001 opened this issue Jun 13, 2014 · 0 comments

Comments

@Glavin001
Copy link
Owner

Uncaught TypeError: Arguments to path.resolve must be strings

This occurs when beautifying on a file in a new window, because the editorFilePath is undefined.

var editedFilePath = editor.getPath();
// => undefined

This is when the file is not yet created.

  • Verify that the path is being passed a valid string
@Glavin001 Glavin001 changed the title Uncaught TypeError: Arguments to path.resolve must be strings Beautify not yet created files. Jun 13, 2014
@Glavin001 Glavin001 mentioned this issue Jun 13, 2014
5 tasks
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

1 participant