Skip to content

Commit 098c507

Browse files
committed
Fix typo
1 parent 6de52a2 commit 098c507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/src/headless.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ pub enum LicenseLocation {
143143
/// This is useful if you want to know whether the core will use your license. If this returns `None`
144144
/// you should look setting the `BN_LICENSE` environment variable, or calling [`set_license`].
145145
pub fn license_location() -> Option<LicenseLocation> {
146-
match std::env::var("BN_LICENSE_FILE") {
146+
match std::env::var("BN_LICENSE") {
147147
Ok(_) => Some(LicenseLocation::EnvironmentVariable),
148148
Err(_) => {
149149
// Check the license_path to see if a file is there.

0 commit comments

Comments
 (0)