Skip to content

Commit 9e07c12

Browse files
committed
refactor: rename getCurrentRelease -> getParentRelease
1 parent 297725e commit 9e07c12

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/commands/status.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Clone wiki: ${ ansi.hl( upstream.wikiSshCloneUrl ) }
174174
} );
175175

176176
for ( const branchName of Object.keys( status.branchStatus ).sort() ) {
177-
const res = await pkg.git.getCurrentRelease( { "commitRef": branchName } );
177+
const res = await pkg.git.getParentRelease( { "commitRef": branchName } );
178178

179179
table.write( {
180180
branchName,

lib/git.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default class Git extends CoreGit {
6060
var res;
6161

6262
if ( release ) {
63-
res = await this.getCurrentRelease( {
63+
res = await this.getParentRelease( {
6464
commitRef,
6565
stable,
6666
"changes": true,

0 commit comments

Comments
 (0)