We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2786a6 commit 79b584eCopy full SHA for 79b584e
lib/swift/playground/assets/stylesheet.rb
@@ -18,7 +18,7 @@ def save(destination_path, number)
18
19
def derived_filename(pathname_or_content)
20
filename = super(pathname_or_content)
21
- filename.gsub(/\.scss$/, '')
+ filename.gsub(/\.scss$/, '') if filename
22
end
23
24
private
0 commit comments