Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
fix: explorer parent dir bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ilbertt committed Aug 20, 2021
1 parent 4f5bf92 commit e242428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ bot.action(constants.parentDirAction, async (ctx) => {
message = constants.deleteDirMessage;
}

if (message) {
if (message || action === constants.EXPLORER_ACTION) {
return ctx.editMessageText(
`${message}${constants.currentPathMessage}\`${newCurrentPath}\``,
{
Expand Down

0 comments on commit e242428

Please sign in to comment.