mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-03 23:24:34 +00:00
Janitor: Remove some more needles clones
This commit is contained in:
parent
eac109d168
commit
52ddf7882c
1 changed files with 2 additions and 3 deletions
|
@ -87,8 +87,7 @@ pub fn generate(show_warnings: bool) -> Result<(), Box<dyn std::error::Error>> {
|
|||
docs_build_dir.join("README.md"),
|
||||
)?;
|
||||
|
||||
let pip_env =
|
||||
vec![(OsString::from("PIPENV_PIPFILE"), docs_source_dir.join("docs/Pipfile").to_owned())];
|
||||
let pip_env = vec![(OsString::from("PIPENV_PIPFILE"), docs_source_dir.join("docs/Pipfile"))];
|
||||
|
||||
println!("Running pipenv install");
|
||||
|
||||
|
@ -105,7 +104,7 @@ pub fn generate(show_warnings: bool) -> Result<(), Box<dyn std::error::Error>> {
|
|||
docs_build_dir.to_str().unwrap(),
|
||||
docs_build_dir.join("html").to_str().unwrap(),
|
||||
],
|
||||
pip_env.clone(),
|
||||
pip_env,
|
||||
)
|
||||
.context("Error running pipenv install")?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue