Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Fix invalid notification to install packages #62

Merged
merged 2 commits into from
Jun 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<idea-plugin url="https://github.com/koxudaxi/poetry-pycharm-plugin">
<id>com.koxudaxi.poetry</id>
<name>Poetry</name>
<version>0.0.12</version>
<version>0.0.13</version>
<vendor email="koaxudai@gmail.com">Koudai Aono @koxudaxi</vendor>
<change-notes><![CDATA[
<h2>version 0.0.13</h2>
<p>Bug fixes</p>
<ul>
<li>Fix invalid notification to install packages [#62] </li>
</ul>
<h2>version 0.0.12</h2>
<p>Bug fixes</p>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion src/com/koxudaxi/poetry/PyPoetryPackageManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class PyPoetryPackageManager(val sdk: Sdk) : PyPackageManager() {
if (alwaysRefresh || packages == null) {
packages = null
val output = try {
runPoetry(sdk, "install", "--dry-run")
runPoetry(sdk, "install", "--dry-run", "--no-root")
} catch (e: ExecutionException) {
packages = emptyList()
return packages ?: emptyList()
Expand Down