Skip to content

Commit

Permalink
Fix for build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dinbtechit committed Oct 27, 2024
1 parent d6eed93 commit ac2045a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pluginVersion = 0.0.3

# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild = 223
pluginUntilBuild =
pluginUntilBuild = 242.*

# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
platformType = IU
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,15 @@ package com.github.dinbtechit.jetbrainsnestjs.actions.cli.util

import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.actionSystem.CommonDataKeys
import com.intellij.openapi.fileEditor.FileEditorManager
import com.intellij.openapi.project.Project
import com.intellij.openapi.project.guessProjectDir
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.psi.search.FilenameIndex
import com.intellij.psi.search.GlobalSearchScope
import java.nio.file.Paths

object NestGeneratorFileUtil {

fun getFilePath(project: Project, e: AnActionEvent, workingDir: VirtualFile): String {
return getPathDifference(
return getPathDifference (
findClosestModuleFileDir(project, e, workingDir).path, workingDir.path
)
}
Expand Down Expand Up @@ -77,7 +74,4 @@ object NestGeneratorFileUtil {
return relativePath.toString()
}

fun getAllNestCliFiles(project: Project): Collection<VirtualFile> {
return FilenameIndex.getVirtualFilesByName(project, "nest-cli.json", GlobalSearchScope.projectScope(project))
}
}

0 comments on commit ac2045a

Please sign in to comment.