Skip to content

Commit e9ebf6f

Browse files
committed
updating readme
1 parent 9412730 commit e9ebf6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ and requires that poetry is installed with the --preview flag.
102102
TL;DR Install poetry with the `--preview` flag.
103103

104104
If you include a `pyproject.toml` and have `poetry` installed instead of a `requirements.txt` this will use
105-
`poetry export --without-hashes -f requirements.txt` to generate them. It is fully compatible with all options such as `zip` and
105+
`poetry export --without-hashes -f requirements.txt -o requirements.txt` to generate them. It is fully compatible with all options such as `zip` and
106106
`dockerizePip`. If you don't want this plugin to generate it for you, set the following option:
107107
```yaml
108108
custom:

lib/poetry.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function pyprojectTomlToRequirements() {
1616

1717
const res = spawnSync(
1818
'poetry',
19-
['export', '--without-hashes', '-f', 'requirements.txt', '>', 'requirements.txt'],
19+
['export', '--without-hashes', '-f', 'requirements.txt', '-o', 'requirements.txt'],
2020
{
2121
cwd: this.servicePath
2222
}

0 commit comments

Comments
 (0)