diff options
Diffstat (limited to 'src/modules/git')
| -rw-r--r-- | src/modules/git/index.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/git/index.ts b/src/modules/git/index.ts index 6a48efc7..ec73c149 100644 --- a/src/modules/git/index.ts +++ b/src/modules/git/index.ts @@ -2,6 +2,8 @@ import type { Faker } from '../..'; import { bindThisToMemberFunctions } from '../../internal/bind-this-to-member-functions'; import { deprecated } from '../../internal/deprecated'; +const nbsp = '\u00a0'; + /** * Module to generate git related entries. * @@ -103,7 +105,7 @@ export class GitModule { `Author: ${user} <${email}>`, `Date: ${this.commitDate({ refDate })}`, '', - `\xa0\xa0\xa0\xa0${this.commitMessage()}`, + `${nbsp.repeat(4)}${this.commitMessage()}`, // to end with a eol char '' ); |
