mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
fix lints on linux build
This commit is contained in:
@@ -1195,10 +1195,10 @@ pub mod chromium_importer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[napi]
|
#[napi]
|
||||||
pub fn request_browser_access(browser: String, mas_build: bool) -> napi::Result<()> {
|
pub fn request_browser_access(_browser: String, _mas_build: bool) -> napi::Result<()> {
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
{
|
{
|
||||||
chromium_importer::chromium::request_browser_access(&browser, mas_build)
|
chromium_importer::chromium::request_browser_access(&_browser, _mas_build)
|
||||||
.map_err(|e| napi::Error::from_reason(e.to_string()))
|
.map_err(|e| napi::Error::from_reason(e.to_string()))
|
||||||
}
|
}
|
||||||
#[cfg(not(target_os = "macos"))]
|
#[cfg(not(target_os = "macos"))]
|
||||||
|
|||||||
Reference in New Issue
Block a user