mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-21 08:39:24 +01:00
fixed bug that might contribute to issue #189
This commit is contained in:
@@ -441,8 +441,9 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
|
|||||||
}
|
}
|
||||||
final Object obj = current.getContextValue(getDataFileContextKey());
|
final Object obj = current.getContextValue(getDataFileContextKey());
|
||||||
if (obj != null) {
|
if (obj != null) {
|
||||||
if (obj instanceof File) {
|
if (obj instanceof String) {
|
||||||
return (File) obj;
|
File f = new File((String) obj);
|
||||||
|
return f;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (getLog().isDebugEnabled()) {
|
if (getLog().isDebugEnabled()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user