File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -213,19 +213,19 @@ def prepare_scan(cmdline):
213
213
configuration = json .load (config_file )
214
214
file_name = os .path .basename (config_file .name )
215
215
216
- if not configuration [ "detectedEntryPointsPath" ] :
216
+ if not configuration . get ( "detectedEntryPointsPath" , None ) :
217
217
configuration ["detectedEntryPointsPath" ] = \
218
218
os .path .join (cmdline .common_dir , "detected_entry_points.json" )
219
219
220
- if not configuration [ "diConfigurationPath" ] :
220
+ if not configuration . get ( "diConfigurationPath" , None ) :
221
221
configuration ["diConfigurationPath" ] = \
222
222
os .path .join (cmdline .common_dir , "di_configuration.json" )
223
223
224
- if not configuration [ "collectedClassesPath" ] :
224
+ if not configuration . get ( "collectedClassesPath" , None ) :
225
225
configuration ["collectedClassesPath" ] = \
226
226
os .path .join (cmdline .common_dir , "collected_classes.json" )
227
227
228
- if not configuration [ "collectedClassesInfoPath" ] :
228
+ if not configuration . get ( "collectedClassesInfoPath" , None ) :
229
229
configuration ["collectedClassesInfoPath" ] = \
230
230
os .path .join (cmdline .common_dir , "collected_classes_info.json" )
231
231
You can’t perform that action at this time.
0 commit comments