fix: Do not apply default installables when using --stdin
This commit is contained in:
parent
03f9ff6ea5
commit
08089fdd32
|
@ -730,9 +730,9 @@ void RawInstallablesCommand::run(ref<Store> store)
|
||||||
while (std::cin >> word) {
|
while (std::cin >> word) {
|
||||||
rawInstallables.emplace_back(std::move(word));
|
rawInstallables.emplace_back(std::move(word));
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
applyDefaultInstallables(rawInstallables);
|
||||||
}
|
}
|
||||||
|
|
||||||
applyDefaultInstallables(rawInstallables);
|
|
||||||
run(store, std::move(rawInstallables));
|
run(store, std::move(rawInstallables));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue