Skip to content

Commit ecdc400

Browse files
Updated script
1 parent 505356f commit ecdc400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Script/on_merge.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ struct Submission {
151151
}
152152

153153
let videoUrl = if let videoUrl {
154-
"[YouTube](\(videoUrl.absoluteString))"
154+
"[\(videoUrl.absoluteString.contains("youtu") ? "YouTube" : "Video")](\(videoUrl.absoluteString))"
155155
} else {
156156
"-"
157157
}

0 commit comments

Comments
 (0)