Skip to content

Commit

Permalink
Update config.js path
Browse files Browse the repository at this point in the history
it has been moved by
1024pix/pix#7140
  • Loading branch information
aceol committed Sep 29, 2023
1 parent 44cfdb6 commit 7ed00d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion common/services/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ async function _getCommitsWhereConfigFileHasChangedBetweenDate(repoOwner, repoNa
repo: repoName,
since: sinceDate,
until: untilDate,
path: 'api/lib/config.js',
path: 'api/src/shared/config.js',
});

return data;
Expand Down
8 changes: 4 additions & 4 deletions test/unit/build/services/github_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ describe('Unit | Build | github-test', function () {
];
nock('https://api.github.com')
.get('/repos/github-owner/github-repository/commits')
.query({ since: latestReleaseDate, until: now.toISOString(), path: 'api/lib/config.js' })
.query({ since: latestReleaseDate, until: now.toISOString(), path: 'api/src/shared/config.js' })
.reply(200, [
{
sha: '5ec2f42',
Expand Down Expand Up @@ -394,7 +394,7 @@ describe('Unit | Build | github-test', function () {
];
nock('https://api.github.com')
.get('/repos/github-owner/github-repository/commits')
.query({ since: latestReleaseDate, until: now.toISOString(), path: 'api/lib/config.js' })
.query({ since: latestReleaseDate, until: now.toISOString(), path: 'api/src/shared/config.js' })
.reply(200, []);

nock('https://api.github.com')
Expand Down Expand Up @@ -437,7 +437,7 @@ describe('Unit | Build | github-test', function () {
// given
nock('https://api.github.com')
.get('/repos/github-owner/github-repository/commits')
.query({ since: secondToLastReleaseDate, until: latestReleaseDate, path: 'api/lib/config.js' })
.query({ since: secondToLastReleaseDate, until: latestReleaseDate, path: 'api/src/shared/config.js' })
.reply(200, [
{
sha: '5ec2f42',
Expand Down Expand Up @@ -472,7 +472,7 @@ describe('Unit | Build | github-test', function () {
// given
nock('https://api.github.com')
.get('/repos/github-owner/github-repository/commits')
.query({ since: secondToLastReleaseDate, until: latestReleaseDate, path: 'api/lib/config.js' })
.query({ since: secondToLastReleaseDate, until: latestReleaseDate, path: 'api/src/shared/config.js' })
.reply(200, []);

nock('https://api.github.com')
Expand Down

0 comments on commit 7ed00d6

Please sign in to comment.