Skip to content

Commit 36deaf6

Browse files
oliverpoolMathieu Fenniak
authored andcommitted
fix(comment): RunMainAppWithStdin is the right name to search for (#13071)
Typos that slipped in https://codeberg.org/forgejo/forgejo/pulls/12855#issuecomment-17336144 (thanks @clouds666 ### Documentation - [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change. - [x] I did not document these changes and I do not expect someone else to do it. ### Release notes - [ ] This change will be noticed by a Forgejo user or admin (feature, bug fix, performance, etc.). I suggest to include a release note for this change. - [x] This change is not visible to a Forgejo user or admin (refactor, dependency upgrade, etc.). I think there is no need to add a release note for this change. *The decision if the pull request will be shown in the release notes is up to the mergers / release team.* The content of the `release-notes/<pull request number>.md` file will serve as the basis for the release notes. If the file does not exist, the title of the pull request will be used instead. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13071 Reviewed-by: Clouds <me@cloudsftp.de> Reviewed-by: limiting-factor <limiting-factor@noreply.codeberg.org>
1 parent 3be0615 commit 36deaf6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

models/gitea_migrations/test/tests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func MainTest(m *testing.M) {
125125
os.Exit(1)
126126
}
127127
setting.AppWorkPath = giteaRoot
128-
setting.AppPath = path.Join(giteaRoot, "gitea_migrations-should-not-need-a-binary") // use WrapMainAppPath if a binary is needed
128+
setting.AppPath = path.Join(giteaRoot, "gitea_migrations-should-not-need-a-binary") // use RunMainAppWithStdin if a binary is needed
129129

130130
giteaConf := os.Getenv("GITEA_CONF")
131131
if giteaConf == "" {

tests/integration/migration-test/migration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func initMigrationTest(t *testing.T) func() {
5151

5252
deferFn := tests.PrintCurrentTest(t, 2)
5353
root := getRoot(t)
54-
setting.AppPath = path.Join(root, "migration-test-should-not-need-a-binary") // use WrapMainAppPath if a binary is needed
54+
setting.AppPath = path.Join(root, "migration-test-should-not-need-a-binary") // use RunMainAppWithStdin if a binary is needed
5555

5656
giteaConf := os.Getenv("GITEA_CONF")
5757
if giteaConf == "" {

0 commit comments

Comments
 (0)