Skip to content

Commit

Permalink
fix the export of modules
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Dec 15, 2023
1 parent da760c7 commit d9c4a26
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nu-git-manager-sugar/git/mod.nu
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ use ../completions/nu-complete.nu [
GIT_QUERY_TABLES, GIT_STRATEGIES, git-query-tables, get-remotes, get-branches, get-strategies
]

export module prompt.nu

# get the commit hash of any revision
#
# ## Examples
Expand Down
3 changes: 3 additions & 0 deletions src/nu-git-manager-sugar/mod.nu
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export module extra.nu
export module git
export module github.nu
3 changes: 3 additions & 0 deletions tests/mod.nu
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ use ../src/nu-git-manager/fs/dir.nu [clean-empty-directories-rec]

use common/setup.nu [get-random-test-dir]

export module gm.nu
export module sugar

export module path {
export def sanitization [] {
assert equal ('\foo\bar' | path sanitize) "/foo/bar"
Expand Down

0 comments on commit d9c4a26

Please sign in to comment.