We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6de52a2 commit 098c507Copy full SHA for 098c507
rust/src/headless.rs
@@ -143,7 +143,7 @@ pub enum LicenseLocation {
143
/// This is useful if you want to know whether the core will use your license. If this returns `None`
144
/// you should look setting the `BN_LICENSE` environment variable, or calling [`set_license`].
145
pub fn license_location() -> Option<LicenseLocation> {
146
- match std::env::var("BN_LICENSE_FILE") {
+ match std::env::var("BN_LICENSE") {
147
Ok(_) => Some(LicenseLocation::EnvironmentVariable),
148
Err(_) => {
149
// Check the license_path to see if a file is there.
0 commit comments