testcafe-browser-tools
Advanced tools
Comparing version 1.4.1-git.201708181521 to 1.4.1-git.201708211545
@@ -0,1 +1,2 @@ | ||
/*eslint-disable*/ | ||
'use strict'; | ||
@@ -19,4 +20,8 @@ | ||
var _mkdirp = require('mkdirp'); | ||
var _mkdirp2 = _interopRequireDefault(_mkdirp); | ||
var stat = _promisify2.default(_fs2.default.stat); | ||
var mkdir = _promisify2.default(_fs2.default.mkdir); | ||
var mkdir = _promisify2.default(_mkdirp2.default); | ||
@@ -28,18 +33,22 @@ function createDirectory(directoryPath) { | ||
context$1$0.prev = 0; | ||
context$1$0.next = 3; | ||
console.log('directory created', directoryPath); | ||
context$1$0.next = 4; | ||
return _regeneratorRuntime.awrap(mkdir(directoryPath)); | ||
case 3: | ||
case 4: | ||
return context$1$0.abrupt('return', true); | ||
case 6: | ||
context$1$0.prev = 6; | ||
case 7: | ||
context$1$0.prev = 7; | ||
context$1$0.t0 = context$1$0['catch'](0); | ||
console.log('failed to create directory', directoryPath); | ||
return context$1$0.abrupt('return', false); | ||
case 9: | ||
case 11: | ||
case 'end': | ||
return context$1$0.stop(); | ||
} | ||
}, null, this, [[0, 6]]); | ||
}, null, this, [[0, 7]]); | ||
} | ||
@@ -46,0 +55,0 @@ |
{ | ||
"name": "testcafe-browser-tools", | ||
"version": "1.4.1-git.201708181521", | ||
"version": "1.4.1-git.201708211545", | ||
"description": "An utility library for performing platform-dependent actions on browsers.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/DevExpress/testcafe-browser-tools", |
1596588
1613