Skip to content

Commit

Permalink
add playground page uti, #167
Browse files Browse the repository at this point in the history
  • Loading branch information
Jintin committed Jul 13, 2017
1 parent c8cf449 commit 3b98283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extension/SourceEditorCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class SourceEditorCommand: NSObject, XCSourceEditorCommand {
completionHandler: @escaping (Error?) -> Swift.Void) {

let uti = invocation.buffer.contentUTI
if uti != "com.apple.dt.playground" && uti != "public.swift-source" {
if uti != "com.apple.dt.playground" && uti != "public.swift-source" && uti != "com.apple.dt.playgroundpage"{
completionHandler(nil)
}

Expand Down

0 comments on commit 3b98283

Please sign in to comment.