mirror of
https://github.com/atom/atom.git
synced 2026-02-12 23:55:10 -05:00
fs.directory does not append a trailing '/' to directories
This commit is contained in:
@@ -21,7 +21,7 @@ class AddDialog extends View
|
||||
@miniEditor.on 'focusout', => @remove()
|
||||
|
||||
directoryPath = if fs.isFile(@path) then fs.directory(@path) else @path
|
||||
relativePath = @rootView.project.relativize(directoryPath)
|
||||
relativePath = @rootView.project.relativize(directoryPath) + '/'
|
||||
@miniEditor.setText(relativePath)
|
||||
|
||||
confirm: ->
|
||||
|
||||
Reference in New Issue
Block a user