Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Save dotfile in dumb background task #169

Merged
merged 8 commits into from
Nov 21, 2024

Conversation

MarcinVaadin
Copy link
Member

Save .copilot-plugin file as dumb background queued task. Fixes issue when file is tried to be saved during indexing.

Fixes: #161

@@ -38,7 +40,7 @@ class CopilotPluginUtil {
val outputPath: String?
)

@JvmRecord data class ProjectInfo(val basePath: String?, val modules: List<CopilotPluginUtil.ModuleInfo>)
@JvmRecord data class ProjectInfo(val basePath: String?, val modules: List<ModuleInfo>)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sonar: Redundant qualifier

}
}
saveDotFile(project)
removeDotFileOnExit(project)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrappers are not needed as both actions are using those wrappers inside

Copy link

Artifact build on last commit: distributions.zip.
For MacOS users: there is a zip inside this zip and Finder unzips them both at once. Use unzip distributions.zip from Terminal or check solution for Archive Manager.

@mgarciavaadin mgarciavaadin merged commit 4c87dc6 into main Nov 21, 2024
4 checks passed
@mgarciavaadin mgarciavaadin deleted the fix/save-dotfile-after-indexing branch November 21, 2024 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants