From b7d7de134f81e3e052c98eff8346fd0a31677e7b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 14 Jan 2015 05:38:23 -0500 Subject: [PATCH] fix typo Promise -> PromiseA (for node 0.10.x) --- lib/fsapi.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fsapi.js b/lib/fsapi.js index d05cbd0..d96fa19 100644 --- a/lib/fsapi.js +++ b/lib/fsapi.js @@ -224,7 +224,7 @@ function copyfs(blogdir, files) { dirpaths[pathname] = true; - return Promise.resolve(); + return PromiseA.resolve(); }).then(function () { // TODO is it better to do this lazy-like or as a batch? // I figure as batch when there may be hundreds of files, @@ -285,7 +285,7 @@ function putfs(blogdir, files) { dirpaths[pathname] = true; - return Promise.resolve(); + return PromiseA.resolve(); }).then(function () { // TODO is it better to do this lazy-like or as a batch? // I figure as batch when there may be hundreds of files,