mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
😕 Forgot to replace most references to clipboardMetadata
Never attempt to fix a PR right before going to sleep!
This commit is contained in:
@@ -514,8 +514,8 @@ class Selection extends Model
|
||||
if maintainClipboard
|
||||
{text: clipboardText, metadata} = atom.clipboard.readWithMetadata()
|
||||
|
||||
if clipboardMetadata? and clipboardMetadata.selections?
|
||||
clipboardMetadata.selections.push(text)
|
||||
if metadata? and metadata.selections?
|
||||
metadata.selections.push(text)
|
||||
else
|
||||
metadata = { selections: [clipboardText, text] }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user