File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
tiling-assistant@leleat-on-github Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -281,9 +281,8 @@ export default class TilingAssistantExtension extends Extension {
281281 try {
282282 parent . make_directory_with_parents ( null ) ;
283283 } catch ( e ) {
284- if ( e . code !== Gio . IOErrorEnum . EXISTS ) {
284+ if ( e . code !== Gio . IOErrorEnum . EXISTS )
285285 throw e ;
286- }
287286 }
288287
289288 const path = GLib . build_filenamev ( [ parentPath , '/tiledSessionRestore2.json' ] ) ;
@@ -292,9 +291,8 @@ export default class TilingAssistantExtension extends Extension {
292291 try {
293292 file . create ( Gio . FileCreateFlags . NONE , null ) ;
294293 } catch ( e ) {
295- if ( e . code !== Gio . IOErrorEnum . EXISTS ) {
294+ if ( e . code !== Gio . IOErrorEnum . EXISTS )
296295 throw e ;
297- }
298296 }
299297
300298 file . replace_contents (
@@ -328,9 +326,8 @@ export default class TilingAssistantExtension extends Extension {
328326 try {
329327 file . create ( Gio . FileCreateFlags . NONE , null ) ;
330328 } catch ( e ) {
331- if ( e . code !== Gio . IOErrorEnum . EXISTS ) {
329+ if ( e . code !== Gio . IOErrorEnum . EXISTS )
332330 throw e ;
333- }
334331 }
335332
336333 const [ success , contents ] = file . load_contents ( null ) ;
You can’t perform that action at this time.
0 commit comments