This repository was archived by the owner on Dec 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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'
1010import MoveDialog from ' ./move-dialog'
1111import CopyDialog from ' ./copy-dialog'
1212IgnoredNames = null # Defer requiring until actually needed
13+ import {ignoredNamesImporter} from ' ./ignored-names-importer.js'
1314
1415import AddProjectsView from ' ./add-projects-view'
1516
@@ -332,7 +333,7 @@ export default class TreeView
332333 addProjectsViewElement = @element .querySelector (' #add-projects-view' )
333334 @element .removeChild (addProjectsViewElement) if addProjectsViewElement
334335
335- IgnoredNames ?= await import ( ' ./ignored-names ' )
336+ IgnoredNames ?= await ignoredNamesImporter ( )
336337
337338 @roots = for projectPath in projectPaths
338339 stats = fs .lstatSyncNoException (projectPath)
Original file line number Diff line number Diff line change 7474 " atom"
7575 ],
7676 "ignore" : [
77- " /spec/fixtures/"
77+ " /spec/fixtures/" ,
78+ " lib/ignored-names-importer.js"
7879 ]
7980 },
8081 "configSchema" : {
You can’t perform that action at this time.
0 commit comments