Skip to content

Commit

Permalink
fmt, fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Feb 21, 2024
1 parent 569defb commit e414579
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .scripts/ci/check-license-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const ignore = [
async function checkFile(file) {
if (
extensions.some((e) => file.endsWith(e)) &&
!ignore.some((i) => file.endsWith(i))
!ignore.some((i) => file.includes(`${path.sep}${i}`))
) {
const fileStream = fs.createReadStream(file);
const rl = readline.createInterface({
Expand Down Expand Up @@ -125,6 +125,6 @@ if (files.length > 0) {
console.log(missing.join("\n"));
process.exit(1);
}
},
}
);
}
2 changes: 1 addition & 1 deletion plugins/notification/src/notify_rust/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ use dbus::{
Path,
};

use super::{Hint, Notification, Timeout};
use super::xdg::{NOTIFICATION_NAMESPACE, NOTIFICATION_OBJECTPATH};
use super::{Hint, Notification, Timeout};

static DBUS_ERROR_FAILED: &str = "org.freedesktop.DBus.Error.Failed";
/// Version of the crate equals the version server.
Expand Down

0 comments on commit e414579

Please sign in to comment.