Skip to content

Commit a7771ff

Browse files
Fix typo in error message formatting in repository.ts and FAQ section of README
1 parent 28a1a00 commit a7771ff

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Ultimately, the image link will look like this:
174174

175175
## FAQ
176176

177-
> 💥 Preview Updater failed with error: Error when creating pull request from preview/banner-***: GitHub Actions is not permitted to create or approve pull requests
177+
> 💥 Preview Updater failed with error: Error when creating a pull request from preview/banner-***: GitHub Actions is not permitted to create or approve pull requests
178178

179179
Enable the "Allow GitHub Actions to create and approve pull requests" option in project settings.
180180

src/utils/repository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export class Repository {
152152
});
153153
} catch (error) {
154154
// @ts-expect-error
155-
error.message = `Error when creating pull request from ${this.branchName()}: ${error.message}`;
155+
error.message = `Error when creating a pull request from ${this.branchName()}: ${error.message}`;
156156

157157
throw error;
158158
}

0 commit comments

Comments
 (0)