File tree Expand file tree Collapse file tree
plugins/notification/src/notify_rust Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ const ignore = [
3333async 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}
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ use dbus::{
2020 Path ,
2121} ;
2222
23- use super :: { Hint , Notification , Timeout } ;
2423use super :: xdg:: { NOTIFICATION_NAMESPACE , NOTIFICATION_OBJECTPATH } ;
24+ use super :: { Hint , Notification , Timeout } ;
2525
2626static DBUS_ERROR_FAILED : & str = "org.freedesktop.DBus.Error.Failed" ;
2727/// Version of the crate equals the version server.
You can’t perform that action at this time.
0 commit comments