Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d79dc39

Browse files
frankcaliseKent C. Dodds
authored and
Kent C. Dodds
committed
Email fill script does not work on Windows (#7)
Tested this and it works locally on Windows 10 with vscode. Would need someone to test the regex on Mac as I don't have one. I imagine this could be done to the other projects as I remember having this issue in learn-react-hooks as well.
1 parent a7a1c71 commit d79dc39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎scripts/autofill-feedback-email.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if (isCI) {
3838
}
3939
const options = {
4040
files: [path.join(__dirname, '..', 'src/**/*.js')],
41-
from: /&em=\n/,
41+
from: /&em=\r?\n/,
4242
to: `&em=${email}\n`,
4343
}
4444

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /