Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
andyduong1920 committed Oct 26, 2023
1 parent c0a3854 commit a4c2d9e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Publish

on:
push:
workflow_dispatch:

jobs:
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "bar-helper",
"displayName": "Bar Helper",
"description": "Run any command from the status bar.",
"version": "0.5.3",
"version": "0.5.4",
"publisher": "andyduong1920",
"repository": {
"type": "git",
Expand Down Expand Up @@ -57,6 +57,10 @@
{
"key": "ctrl+u",
"command": "barHelper.runGitPush"
},
{
"key": "ctrl+c",
"command": "barHelper.runGitCheckoutDevelopPull"
}
],
"commands": [
Expand Down
4 changes: 2 additions & 2 deletions src/editableArea/1_definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ export const runDBRemigrateItem = window.createStatusBarItem(
StatusBarAlignment.Left,
-7
);
export const gitCheckoutDevelopPullItem = window.createStatusBarItem(
export const gitPushItem = window.createStatusBarItem(
StatusBarAlignment.Left,
-9
);
export const gitStatusItem = window.createStatusBarItem(
StatusBarAlignment.Left,
-10
);
export const gitPushItem = window.createStatusBarItem(
export const gitCheckoutDevelopPullItem = window.createStatusBarItem(
StatusBarAlignment.Left,
-11
);
Expand Down
2 changes: 1 addition & 1 deletion src/editableArea/4_behaviors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const setupItemBehaviors = () => {
);
Utils.setupItem(
BarItems.gitCheckoutDevelopPullItem,
"⏬ checkout:develop - pull",
"⏬ develop && pull ⌃c",
"git checkout to develop and then pull",
"barHelper.runGitCheckoutDevelopPull"
);
Expand Down

0 comments on commit a4c2d9e

Please sign in to comment.