Skip to content

Commit e414579

Browse files
committed
fmt, fix check
1 parent 569defb commit e414579

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.scripts/ci/check-license-header.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const ignore = [
3333
async function checkFile(file) {
3434
if (
3535
extensions.some((e) => file.endsWith(e)) &&
36-
!ignore.some((i) => file.endsWith(i))
36+
!ignore.some((i) => file.includes(`${path.sep}${i}`))
3737
) {
3838
const fileStream = fs.createReadStream(file);
3939
const rl = readline.createInterface({
@@ -125,6 +125,6 @@ if (files.length > 0) {
125125
console.log(missing.join("\n"));
126126
process.exit(1);
127127
}
128-
},
128+
}
129129
);
130130
}

plugins/notification/src/notify_rust/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ use dbus::{
2020
Path,
2121
};
2222

23-
use super::{Hint, Notification, Timeout};
2423
use super::xdg::{NOTIFICATION_NAMESPACE, NOTIFICATION_OBJECTPATH};
24+
use super::{Hint, Notification, Timeout};
2525

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

0 commit comments

Comments
 (0)