apk-dependency-graph icon indicating copy to clipboard operation
apk-dependency-graph copied to clipboard

It deletes project instead of output directory

Open semenoh opened this issue 2 years ago • 0 comments

There is a line in Main.java that states it deletes output dir but deletes project instead. https://github.com/alexzaitsev/apk-dependency-graph/blob/bc7d4b47ec8e7580044bb53b5c24f6b79279c10c/src/main/java/com/alex_zaitsev/adg/Main.java#L35

        // Delete the output directory for a better decoding result.
        if (FileUtils.deleteDir(arguments.getProjectPath())) {
            System.out.println("The output directory was deleted!");
        }

i gues it should be

        if (FileUtils.deleteDir(arguments.getResultPath())) {

instead

semenoh avatar Nov 02 '22 20:11 semenoh