This repository was archived by the owner on Dec 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ export async function ignoredNamesImporter ( ) {
2
+ return await import ( './ignored-names' )
3
+ }
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import AddDialog from './add-dialog'
10
10
import MoveDialog from ' ./move-dialog'
11
11
import CopyDialog from ' ./copy-dialog'
12
12
IgnoredNames = null # Defer requiring until actually needed
13
+ import {ignoredNamesImporter} from ' ./ignored-names-importer.js'
13
14
14
15
import AddProjectsView from ' ./add-projects-view'
15
16
@@ -332,7 +333,7 @@ export default class TreeView
332
333
addProjectsViewElement = @element .querySelector (' #add-projects-view' )
333
334
@element .removeChild (addProjectsViewElement) if addProjectsViewElement
334
335
335
- IgnoredNames ?= await import ( ' ./ignored-names ' )
336
+ IgnoredNames ?= await ignoredNamesImporter ( )
336
337
337
338
@roots = for projectPath in projectPaths
338
339
stats = fs .lstatSyncNoException (projectPath)
Original file line number Diff line number Diff line change 74
74
" atom"
75
75
],
76
76
"ignore" : [
77
- " /spec/fixtures/"
77
+ " /spec/fixtures/" ,
78
+ " lib/ignored-names-importer.js"
78
79
]
79
80
},
80
81
"configSchema" : {
You can’t perform that action at this time.
0 commit comments