Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
Obsolete crash when there is no default configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
WebFreak001 committed Dec 26, 2015
1 parent e08ab59 commit ae88570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/com/dub.d
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public:
_compiler = getCompiler(compilerName);
BuildPlatform platform = _compiler.determinePlatform(_settings, compilerName);
_platform = platform; // Workaround for strange bug
assert(setConfiguration(dub.project.getDefaultConfiguration(_platform)), "Could not find default configuration");
setConfiguration(dub.project.getDefaultConfiguration(_platform));

static if (__traits(compiles, { WatchedFile f = WatchedFile("path"); }))
{
Expand Down

0 comments on commit ae88570

Please sign in to comment.