fix typo Promise -> PromiseA (for node 0.10.x)

This commit is contained in:
AJ ONeal 2015-01-14 05:38:23 -05:00
parent a46178f50f
commit b7d7de134f
1 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ function copyfs(blogdir, files) {
dirpaths[pathname] = true; dirpaths[pathname] = true;
return Promise.resolve(); return PromiseA.resolve();
}).then(function () { }).then(function () {
// TODO is it better to do this lazy-like or as a batch? // TODO is it better to do this lazy-like or as a batch?
// I figure as batch when there may be hundreds of files, // I figure as batch when there may be hundreds of files,
@ -285,7 +285,7 @@ function putfs(blogdir, files) {
dirpaths[pathname] = true; dirpaths[pathname] = true;
return Promise.resolve(); return PromiseA.resolve();
}).then(function () { }).then(function () {
// TODO is it better to do this lazy-like or as a batch? // TODO is it better to do this lazy-like or as a batch?
// I figure as batch when there may be hundreds of files, // I figure as batch when there may be hundreds of files,