Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
emesare committed Jan 14, 2025
1 parent 6de52a2 commit 098c507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/headless.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ pub enum LicenseLocation {
/// This is useful if you want to know whether the core will use your license. If this returns `None`
/// you should look setting the `BN_LICENSE` environment variable, or calling [`set_license`].
pub fn license_location() -> Option<LicenseLocation> {
match std::env::var("BN_LICENSE_FILE") {
match std::env::var("BN_LICENSE") {
Ok(_) => Some(LicenseLocation::EnvironmentVariable),
Err(_) => {
// Check the license_path to see if a file is there.
Expand Down

0 comments on commit 098c507

Please sign in to comment.