Skip to content

Commit

Permalink
remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
djbe committed Feb 13, 2017
1 parent c40ed43 commit 5159be2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Parameters.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public enum Parameters {
}
} else if parts.count > 1 {
guard result[key] is StringDict || result[key] == nil else {
throw ParametersError.invalidStructure(key: key, oldValue: result[key], newValue: parameter.value)
throw ParametersError.invalidStructure(key: key, oldValue: result[key] ?? "", newValue: parameter.value)
}

// recurse into sub keys
Expand Down
16 changes: 16 additions & 0 deletions StencilSwiftKit.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "NO"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F46217047B43043671E1C8A5BE689A1F"
BuildableName = "StencilSwiftKit.framework"
BlueprintName = "StencilSwiftKit"
ReferencedContainer = "container:Pods/Pods.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
Expand Down

0 comments on commit 5159be2

Please sign in to comment.