From 708106e295cbc5c8ca0132404ba508ae96af4700 Mon Sep 17 00:00:00 2001 From: WarningImHack3r <43064022+WarningImHack3r@users.noreply.github.com> Date: Tue, 9 Apr 2024 23:05:06 +0200 Subject: [PATCH] Fix UpdateInBackground missing from ErrorThrowingAction --- CHANGELOG.md | 2 ++ gradle.properties | 2 +- .../errorsubmitter/ErrorThrowingAction.kt | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db031b7..cb5b18d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ ## [Unreleased] +- Fix missing crash fix for newer versions (2024.1+) (#88) + ## [2.1.4] - 2024-03-15 ### Changed diff --git a/gradle.properties b/gradle.properties index f614f33..af9e8ee 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ pluginGroup = com.github.warningimhack3r.npmupdatedependencies pluginName = npm-update-dependencies pluginRepositoryUrl = https://github.com/WarningImHack3r/npm-update-dependencies # SemVer format -> https://semver.org -pluginVersion = 2.1.4 +pluginVersion = 2.1.5 # Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html pluginSinceBuild = 221 diff --git a/src/main/kotlin/com/github/warningimhack3r/npmupdatedependencies/errorsubmitter/ErrorThrowingAction.kt b/src/main/kotlin/com/github/warningimhack3r/npmupdatedependencies/errorsubmitter/ErrorThrowingAction.kt index 5cc4e05..88afc5d 100644 --- a/src/main/kotlin/com/github/warningimhack3r/npmupdatedependencies/errorsubmitter/ErrorThrowingAction.kt +++ b/src/main/kotlin/com/github/warningimhack3r/npmupdatedependencies/errorsubmitter/ErrorThrowingAction.kt @@ -1,6 +1,7 @@ package com.github.warningimhack3r.npmupdatedependencies.errorsubmitter import com.intellij.openapi.actionSystem.AnActionEvent +import com.intellij.openapi.actionSystem.UpdateInBackground import com.intellij.openapi.diagnostic.logger import com.intellij.openapi.project.DumbAwareAction @@ -13,7 +14,7 @@ import com.intellij.openapi.project.DumbAwareAction * #com.github.warningimhack3r.npmupdatedependencies.errorreport.ErrorThrowingAction * ``` */ -class ErrorThrowingAction : DumbAwareAction() { +class ErrorThrowingAction : DumbAwareAction(), UpdateInBackground { companion object { private val LOG = logger() }