Skip to content

Commit

Permalink
[Minor]
Browse files Browse the repository at this point in the history
  • Loading branch information
FMotalleb committed Nov 6, 2023
1 parent a19aeaa commit 6f8a4c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ impl nu_plugin::Plugin for Plugin {
"address" => Value::test_string("8.8.8.8".to_string()),
"port" => Value::test_int(53),
"result" => Value::test_string("Open", ),
"is_open"=> Value::test_bool(true, ),
"elapsed" => Value::test_int(40),
},
Span::unknown(),
Expand All @@ -53,6 +54,7 @@ impl nu_plugin::Plugin for Plugin {
"address" => Value::test_string("8.8.8.8".to_string()),
"port" => Value::test_int(54),
"result" => Value::test_string("Closed", ),
"is_open"=> Value::test_bool(false, ),
"elapsed" => Value::test_int(1000),
},
Span::unknown(),
Expand Down

0 comments on commit 6f8a4c4

Please sign in to comment.