Skip to content

Commit

Permalink
[hotfix] fixing revert command for old values
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemkosk committed Dec 11, 2023
1 parent eef31ed commit 73d8449
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/command/commandTypes/revertCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default class RevertCommand extends Command {
})
})

return { targetPath, envValue, newValue: version.changes[0].oldValue }
return { targetPath, envValue, newValue: version.changes[0].value }
}

protected async onExecute (beforeExecuteReturnValue: any): Promise<void> {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "envolve",
"version": "1.1.9",
"version": "1.1.10",
"description": "Envolve CLI is a powerful tool for managing environment variables in your projects. It allows you to easily create, update, compare, and sync environment files across different services.",
"main": "index.ts",
"scripts": {
Expand Down

0 comments on commit 73d8449

Please sign in to comment.