mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Move FileSystem.getDirectoryContents to Directory.getContents
This commit is contained in:
1 parent
fb2c451879
commit
8269ff1604
11 files changed
+87
-79
No files matched your search
@@ -189,7 +189,7 @@ define(function (require, exports, module) {
|
||||
|
||||
fileSystem.resolve(dir, function (err, directory) {
|
||||
if (!err && directory.isDirectory()) {
|
||||
fileSystem.getDirectoryContents(directory, function (err, contents) {
|
||||
directory.getContents(function (err, contents) {
|
||||
if (!err) {
|
||||
contents.slice(0, preferences.getMaxFileCount()).forEach(function (entry) {
|
||||
var path = entry.fullPath,
|
||||
|
||||
Reference in new issue
Block a user