mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-01 13:11:11 +00:00
Update register.rs
This commit is contained in:
parent
2fe6fc1dc5
commit
34ea4be7ed
1 changed files with 3 additions and 2 deletions
|
@ -1343,9 +1343,10 @@ impl Context {
|
||||||
match Command::new("pylyzer")
|
match Command::new("pylyzer")
|
||||||
.arg("--dump-decl")
|
.arg("--dump-decl")
|
||||||
.arg(path.to_str().unwrap())
|
.arg(path.to_str().unwrap())
|
||||||
.output()
|
.spawn()
|
||||||
|
.and_then(|mut child| child.wait())
|
||||||
{
|
{
|
||||||
Ok(out) if out.status.success() => {
|
Ok(status) if status.success() => {
|
||||||
if let Some(path) =
|
if let Some(path) =
|
||||||
Self::resolve_decl_path(&self.cfg, Path::new(&__name__[..]))
|
Self::resolve_decl_path(&self.cfg, Path::new(&__name__[..]))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue