Skip to content

Commit a19765d

Browse files
cdotyabcdotyab
authored andcommitted
fix: bad reference
1 parent 5838afa commit a19765d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/version/toml.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = class Toml extends BaseVersioning {
3030
// Get the name of where the version is in
3131
const versionName = this.versionPath.split('.').pop()
3232

33-
core.info(`Bumped file "${this.fileLocation}" from "${oldVersion}" to "${this.newVersion}"`)
33+
core.info(`Bumped file "${this.fileLocation}" from "${this.oldVersion}" to "${this.newVersion}"`)
3434

3535
this.update(
3636
// We use replace instead of yaml.stringify so we can preserve white spaces and comments

src/version/yaml.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = class Yaml extends BaseVersioning {
3030
// Get the name of where the version is in
3131
const versionName = this.versionPath.split('.').pop()
3232

33-
core.info(`Bumped file "${this.fileLocation}" from "${oldVersion}" to "${this.newVersion}"`)
33+
core.info(`Bumped file "${this.fileLocation}" from "${this.oldVersion}" to "${this.newVersion}"`)
3434

3535
this.update(
3636
// We use replace instead of yaml.stringify so we can preserve white spaces and comments

0 commit comments

Comments
 (0)