fix typo Promise -> PromiseA (for node 0.10.x)
This commit is contained in:
parent
a46178f50f
commit
b7d7de134f
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue