Skip to content

Commit 3eb1b78

Browse files
committed
lint fix
1 parent 6505bcb commit 3eb1b78

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

src/cmd/flash.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ module.exports = class FlashCommand extends CLICommandBase {
130130
this.ui.write(` - ${file}`);
131131
}
132132
this.ui.write(os.EOL);
133-
133+
134134
this.ui.write(`Starting download. The download may take several minutes...${os.EOL}`);
135135

136136
try {

src/lib/qdl.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@ const os = require('os');
77
const TACHYON_STORAGE_TYPE = 'ufs';
88

99
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;
1616
}
1717

1818
/**
1919
*/
2020
async function run({ files, updateFolder, verbose, ui }) {
21-
const qdl = await getExecutable();
21+
const qdl = await getExecutable();
2222

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}`);
2424

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+
});
2929

30-
return res;
30+
return res;
3131
}
3232

3333
module.exports = {

0 commit comments

Comments
 (0)