Skip to content

Commit

Permalink
remove misleading example from source (#6118)
Browse files Browse the repository at this point in the history
  • Loading branch information
merelymyself committed Jul 25, 2022
1 parent 87e2fa1 commit 8b35239
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions crates/nu-command/src/core_commands/source.rs
Expand Up @@ -69,11 +69,6 @@ impl Command for Source {
example: r#"source ./foo.nu; say-hi"#,
result: None,
},
Example {
description: "Runs foo.nu in current context and call the `main` command automatically, suppose foo.nu has content: `def main [] { echo 'Hi!' }`",
example: r#"source ./foo.nu"#,
result: None,
},
]
}
}

0 comments on commit 8b35239

Please sign in to comment.