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

Commit

Permalink
Merge pull request #62 from koxudaxi/fix_invalid_notification_to_inst…
Browse files Browse the repository at this point in the history
…all_package

Fix invalid notification to install packages
  • Loading branch information
koxudaxi authored Jun 9, 2020
2 parents f0b616f + 6186947 commit 582e4bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
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

0 comments on commit 582e4bb

Please sign in to comment.