-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix rejecting change w/zero-length replacement
Summary: If you had a zero-length replacement and you pressed `n` to reject the patch, we would never advance due to the zero-length replacement special case. Now, we always advance if you rejected the patch. Reviewed By: adamjernst, dshahidehpour Differential Revision: D9015257 fbshipit-source-id: e544c2a9b16c56db85555b952ed0dc798775ad88
- Loading branch information
1 parent
768e8cf
commit 95ae97a
Showing
3 changed files
with
23 additions
and
11 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "fastmod" | ||
version = "0.2.0" | ||
version = "0.2.1" | ||
authors = ["Scott Wolchok <[email protected]>"] | ||
description = "Fast partial replacement for codemod (find/replace tool for programmers)" | ||
homepage = "https://github.com/facebookincubator/fastmod" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters