Skip to content

Commit

Permalink
new release 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ytliu74 committed Mar 19, 2023
1 parent d375bb5 commit 3e5c712
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
create_release:
if: "contains(github.event.head_commit.message, 'new release')"
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand All @@ -27,7 +28,7 @@ jobs:
- name: Get Release Version
id: release-version
run: |
echo "VER=${{ github.event.head_commit.message }} | cut -d' ' -f3" >> $GITHUB_OUTPUT
echo "VER=$(echo ${{ github.event.head_commit.message }} | cut -d' ' -f3)" >> $GITHUB_OUTPUT
- name: Create Release
id: create_release
Expand Down
5 changes: 0 additions & 5 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,6 @@ class PseudocodeSuggestor extends EditorSuggest<string> {

if (!isPseudocode) return null;

// Get last word in current line
// const currentLineToCursor = editor
// .getLine(cursor.line)
// .slice(0, cursor.ch);

return {
start: { line: cursor.line, ch: currentLineLastWordStart },
end: cursor,
Expand Down

0 comments on commit 3e5c712

Please sign in to comment.