mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
hexo-fs: Fix lint
This commit is contained in:
parent
571e108a79
commit
4fcb01df97
@ -595,7 +595,7 @@ it('emptyDir() - callback', callback => {
|
||||
join('folder', 'i.js')
|
||||
]);
|
||||
|
||||
Promise.map([
|
||||
const dataArray: Array<[string, boolean]> = [
|
||||
[join(target, '.hidden', 'a.txt'), true],
|
||||
[join(target, '.hidden', 'b.js'), true],
|
||||
[join(target, '.hidden', 'c', 'd'), true],
|
||||
@ -605,7 +605,8 @@ it('emptyDir() - callback', callback => {
|
||||
[join(target, 'folder', 'h.txt'), false],
|
||||
[join(target, 'folder', 'i.js'), false],
|
||||
[join(target, 'folder', '.j'), true]
|
||||
] as Array<[string, boolean]>, data => {
|
||||
];
|
||||
Promise.map(dataArray, data => {
|
||||
return fs.exists(data[0]).then(exist => {
|
||||
exist.should.eql(data[1]);
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user