Skip to content

Commit

Permalink
Merge pull request #1662 from marmotz/develop
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
marcelklehr authored Jun 26, 2024
2 parents fd02d31 + e42ff90 commit 53c4b25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/adapters/Git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export default class GitAdapter extends CachingAdapter {
} catch (e) {
if (e && e.code === git.Errors.NotFoundError.code && (e.data.what === 'HEAD' || e.data.what === this.server.branch)) {
Logger.log('(git) writeFile ' + this.dir + '/README.md')
await this.fs.promises.writeFile(this.dir + '/README.md', 'This repository is used to syncrhonize bookmarks via [floccus](https://floccus.org).', {mode: 0o777, encoding: 'utf8'})
await this.fs.promises.writeFile(this.dir + '/README.md', 'This repository is used to synchronize bookmarks via [floccus](https://floccus.org).', {mode: 0o777, encoding: 'utf8'})
Logger.log('(git) add .')
await git.add({fs: this.fs, dir: this.dir, filepath: '.'})
Logger.log('(git) commit')
Expand Down Expand Up @@ -331,7 +331,7 @@ export default class GitAdapter extends CachingAdapter {
remote: 'origin',
force: true
})
await fs.promises.writeFile(this.dir + '/README.md', 'This repository is used to syncrhonize bookmarks via [floccus](https://floccus.org).', {mode: 0o777, encoding: 'utf8'})
await fs.promises.writeFile(this.dir + '/README.md', 'This repository is used to synchronize bookmarks via [floccus](https://floccus.org).', {mode: 0o777, encoding: 'utf8'})
await git.add({fs, dir: this.dir, filepath: '.'})
await git.commit({
fs,
Expand Down

0 comments on commit 53c4b25

Please sign in to comment.