diff --git a/source/dub/compilers/compiler.d b/source/dub/compilers/compiler.d index 44d4e08..3005e40 100644 --- a/source/dub/compilers/compiler.d +++ b/source/dub/compilers/compiler.d @@ -280,12 +280,12 @@ if (platform.canFind(splitted.front)) { splitted.popFront(); if(splitted.empty) - return true; + return true; } if (architecture.canFind(splitted.front)) { splitted.popFront(); if(splitted.empty) - return true; + return true; } if (compiler == splitted.front) { splitted.popFront(); diff --git a/source/dub/internal/utils.d b/source/dub/internal/utils.d index 759466c..9613553 100644 --- a/source/dub/internal/utils.d +++ b/source/dub/internal/utils.d @@ -211,9 +211,9 @@ } /** - Get the closest match of $(D input) in the $(D array), where $(D distance) - is the maximum levenshtein distance allowed between the compared strings. - Returns $(D null) if no closest match is found. + Get the closest match of $(D input) in the $(D array), where $(D distance) + is the maximum levenshtein distance allowed between the compared strings. + Returns $(D null) if no closest match is found. */ string getClosestMatch(string[] array, string input, size_t distance) { diff --git a/source/dub/internal/vibecompat/data/json.d b/source/dub/internal/vibecompat/data/json.d index d6832f5..f793993 100644 --- a/source/dub/internal/vibecompat/data/json.d +++ b/source/dub/internal/vibecompat/data/json.d @@ -1097,7 +1097,7 @@ dst = References the string output range to which the result is written. json = Specifies the JSON value that is to be stringified. level = Specifies the base amount of indentation for the output. Indentation is always - done using tab characters. + done using tab characters. See_Also: Json.toPrettyString, writeJsonString */ diff --git a/test/path-subpackage-ref/dub.json b/test/path-subpackage-ref/dub.json index 378acee..d6353e9 100644 --- a/test/path-subpackage-ref/dub.json +++ b/test/path-subpackage-ref/dub.json @@ -1,9 +1,9 @@ { - "name": "test", - "dependencies": { - "test:subpack": "*" - }, - "subPackages": [ - "subpack/" - ] + "name": "test", + "dependencies": { + "test:subpack": "*" + }, + "subPackages": [ + "subpack/" + ] } \ No newline at end of file diff --git a/test/subpackage-ref/dub.json b/test/subpackage-ref/dub.json index 0f4f3cd..e47e03f 100644 --- a/test/subpackage-ref/dub.json +++ b/test/subpackage-ref/dub.json @@ -1,11 +1,11 @@ { - "name": "test", - "dependencies": { - "test:subpack": "*" - }, - "subPackages": [ - { - "name": "subpack" - } - ] + "name": "test", + "dependencies": { + "test:subpack": "*" + }, + "subPackages": [ + { + "name": "subpack" + } + ] } \ No newline at end of file