Skip to content

Two fixes that are not rebases #313

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

Merged
merged 2 commits into from
Mar 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1728,7 +1728,7 @@ abstract class GregorianBaseHelper extends HelperBase {
// Prefer displaying an era alias, instead of "gregory-inverse"
const preferredName = names?.[0];
const expected = preferredName ? `${value} (also called ${preferredName})` : value;
throw new RangeErrorCtor(`Input ${name} ${currentValue} doesn't match calculated value ${expected}`);
throw new RangeErrorCtor(`Input ${property} ${currentValue} doesn't match calculated value ${expected}`);
}
};
const eraFromYear = (year: number) => {
Expand Down
1 change: 1 addition & 0 deletions tools/rebase-upstream-commits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ try running this tool's "rebasehelp" command.
// We want this to show up in the same TTY that this tool was launched in.
stdio: 'inherit',
env: {
...process.env,
GIT_SEQUENCE_EDITOR: gitSequenceEditorCmd,
PATH: process.env['PATH']
}
Expand Down