Skip to content

Commit

Permalink
add check for package import
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Murdaca <[email protected]>
  • Loading branch information
Francesco Murdaca committed Jun 9, 2021
1 parent 5ec4a23 commit b0ff571
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@ export async function _handle_requirements(
_.set(identified_packages, "scikit-learn", "*")
}

else if ( library == "dotenv" ) {
_.set(identified_packages, "python-dotenv", "*")
}

else {
_.set(identified_packages, library, "*")
}
Expand Down

0 comments on commit b0ff571

Please sign in to comment.