Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Commit

Permalink
Fixed crash with "completion-scope"
Browse files Browse the repository at this point in the history
  • Loading branch information
allewun committed May 4, 2015
1 parent 44f1940 commit 6dfdab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xcodesnippet/commands/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def extract_front_matter!
end
@snippet.title = front_matter["title"] || ""
@snippet.summary = front_matter["summary"] || ""
@snippet.completion_scopes = [front_matter["completion-scope"]] || front_matter["completion-scopes"] || "All"
@snippet.completion_scopes = front_matter["completion-scopes"] || 'All'
@snippet.identifier = SecureRandom.uuid().upcase
@snippet.is_user_snippet = true
@snippet.version = 0
Expand Down

0 comments on commit 6dfdab9

Please sign in to comment.