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

fix(run-import-js): No longer "importjsd" in v5.0 #32

Merged
merged 4 commits into from
Feb 15, 2022

Conversation

thaenalpha
Copy link
Contributor

No description provided.

leoc and others added 4 commits July 10, 2018 10:17
When having a hook on window switch to save a file and having a file
to fix imports `after save`, the new file content was written to the
window I switched to due to the asynchronous call to `importjs`.

Now we save the buffer for which the command was invoked and write to
that buffer explicitly.
Users might want to hook import-js-fix using either `after-save-hook` or `before-save-hook`.

Signed-off-by: Huy Duong <[email protected]>
…ive-buffer

Save the buffer associated with the `importjs` command
@kevinkehl
Copy link
Collaborator

Tested fix locally against my projects and [email protected], LGTM.

Thanks to the contributors here!

@kevinkehl kevinkehl merged commit d2bbb53 into Galooshi:master Feb 15, 2022
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

Successfully merging this pull request may close these issues.

3 participants