mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 06:30:08 +02:00
no-op
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
use std::path::Path;
|
||||
|
||||
use nu_protocol::ast::Call;
|
||||
use nu_protocol::engine::{Command, EvaluationContext};
|
||||
use nu_protocol::{Signature, SyntaxShape, Value};
|
||||
use nu_protocol::{ShellError, Signature, SyntaxShape, Value};
|
||||
|
||||
/// Source a file for environment variables.
|
||||
pub struct Source;
|
||||
@ -27,7 +29,7 @@ impl Command for Source {
|
||||
_context: &EvaluationContext,
|
||||
call: &Call,
|
||||
input: Value,
|
||||
) -> Result<nu_protocol::Value, nu_protocol::ShellError> {
|
||||
) -> Result<Value, ShellError> {
|
||||
Ok(Value::Nothing { span: call.head })
|
||||
// source(_context, call, input)
|
||||
}
|
||||
|
@ -581,6 +581,8 @@ pub fn parse_source(
|
||||
// None,
|
||||
// );
|
||||
}
|
||||
} else {
|
||||
// Source file couldn't be parsed correctly
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user