@@ -7,27 +7,27 @@ const os = require('os');
7
7
const TACHYON_STORAGE_TYPE = 'ufs' ;
8
8
9
9
async function getExecutable ( ) {
10
- const archType = utilities . getArchType ( ) ;
11
- const archName = utilities . getOs ( ) ;
12
- const qdlExec = path . join ( __dirname , `../../assets/qdl/${ archName } /${ archType } /qdl` ) ;
13
- await fs . ensureFile ( qdlExec ) ;
14
- await fs . chmod ( qdlExec , 0o755 ) ;
15
- return qdlExec ;
10
+ const archType = utilities . getArchType ( ) ;
11
+ const archName = utilities . getOs ( ) ;
12
+ const qdlExec = path . join ( __dirname , `../../assets/qdl/${ archName } /${ archType } /qdl` ) ;
13
+ await fs . ensureFile ( qdlExec ) ;
14
+ await fs . chmod ( qdlExec , 0o755 ) ;
15
+ return qdlExec ;
16
16
}
17
17
18
18
/**
19
19
*/
20
20
async function run ( { files, updateFolder, verbose, ui } ) {
21
- const qdl = await getExecutable ( ) ;
21
+ const qdl = await getExecutable ( ) ;
22
22
23
- ui . write ( `Command: ${ qdl } --storage ${ TACHYON_STORAGE_TYPE } ${ files . join ( ' ' ) } ${ os . EOL } ` ) ;
23
+ ui . write ( `Command: ${ qdl } --storage ${ TACHYON_STORAGE_TYPE } ${ files . join ( ' ' ) } ${ os . EOL } ` ) ;
24
24
25
- const res = await execa ( qdl , [ '--storage' , 'ufs' , ...files ] , {
26
- cwd : updateFolder ,
27
- stdio : verbose ? 'inherit' : 'pipe'
28
- } ) ;
25
+ const res = await execa ( qdl , [ '--storage' , 'ufs' , ...files ] , {
26
+ cwd : updateFolder ,
27
+ stdio : verbose ? 'inherit' : 'pipe'
28
+ } ) ;
29
29
30
- return res ;
30
+ return res ;
31
31
}
32
32
33
33
module . exports = {
0 commit comments