Skip to content

Commit

Permalink
Alternatively return undefined via Promise
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Jerphanion <[email protected]>

Co-authored-by: Johan Mabille <[email protected]>
  • Loading branch information
jjerphan and JohanMabille committed Nov 25, 2024
1 parent 2474c95 commit ce25057
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/shell-init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const copyMambaBatToMicromambaBat = (options: Options) => {
const micromambaBat = path.join(options.micromambaRootPath, 'condabin', 'micromamba.bat')
return fs.copyFile(mambaBat, micromambaBat)
}
return Promise.resolve(undefined)
}

export const shellInit = (options: Options, shell: string) => {
Expand Down

0 comments on commit ce25057

Please sign in to comment.