Skip to content

Commit 3316912

Browse files
committed
feat: electron support working. all tests pass
1 parent a3453e2 commit 3316912

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/test-copy.browser.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,14 @@ function _setupTests(testTypeSrc, testTypeDst) {
6969
await _clean();
7070
console.log(`mkdir: `, srcTestPath);
7171
let makeSuccess = false;
72-
fs.mkdirs(srcTestPath, 777 ,true, ()=>{
72+
fs.mkdirs(srcTestPath, 0o777 ,true, ()=>{
7373
makeSuccess = true;
7474
});
7575
await waitForTrue(()=>{return makeSuccess;},10000);
7676

7777
console.log(`mkdir: `, destTestPath);
7878
makeSuccess = false;
79-
fs.mkdirs(destTestPath, 777 ,true, ()=>{
79+
fs.mkdirs(destTestPath, 0o777 ,true, ()=>{
8080
makeSuccess = true;
8181
});
8282
await waitForTrue(()=>{return makeSuccess;},10000);
@@ -100,7 +100,7 @@ function _setupTests(testTypeSrc, testTypeDst) {
100100

101101
function _createFolder(path) {
102102
return new Promise((resolve, reject)=>{
103-
fs.mkdir(path, 777, (err)=>{
103+
fs.mkdir(path, 0o777, (err)=>{
104104
if(err){
105105
reject(err);
106106
} else {

0 commit comments

Comments
 (0)