Skip to content

Commit 99326b1

Browse files
committed
Remove profiling metadata data source
1 parent d98b8eb commit 99326b1

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

crates/nu-command/src/core_commands/metadata.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,6 @@ impl Command for Metadata {
8989
cols.push("source".into());
9090
vals.push(Value::string("into html --list", head))
9191
}
92-
PipelineMetadata {
93-
data_source: DataSource::Profiling(values),
94-
} => {
95-
cols.push("profiling".into());
96-
vals.push(Value::list(values.clone(), head))
97-
}
9892
}
9993
}
10094

@@ -160,12 +154,6 @@ fn build_metadata_record(arg: &Value, metadata: &Option<PipelineMetadata>, head:
160154
cols.push("source".into());
161155
vals.push(Value::string("into html --list", head))
162156
}
163-
PipelineMetadata {
164-
data_source: DataSource::Profiling(values),
165-
} => {
166-
cols.push("profiling".into());
167-
vals.push(Value::list(values.clone(), head))
168-
}
169157
}
170158
}
171159

crates/nu-protocol/src/pipeline_data.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ pub struct PipelineMetadata {
6262
pub enum DataSource {
6363
Ls,
6464
HtmlThemes,
65-
Profiling(Vec<Value>),
6665
}
6766

6867
impl PipelineData {

0 commit comments

Comments
 (0)