Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
if (mkDirPath != null & !fs.exists(mkDirPath)) {
'&&' should be used instead of single ampersand.
If mkDirPath is null, fs.exists() would still be called - resulting in NPE.