Skip to content

Commit 0d02201

Browse files
author
Bing Yang
committed
correct spelling contrlDir -> controlDir.
1 parent d792bad commit 0d02201

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/installer.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,10 @@ class DebianInstaller extends common.ElectronInstaller {
9292
this.options.logger(`Creating control file at ${dest}`)
9393

9494
return common.wrapError('creating control file', async () => {
95+
await this.createTemplatedFile(src, dest)
9596

96-
await this.createTemplatedFile(src, dest);
97-
98-
const contrlDir = path.join(this.stagingDir, 'DEBIAN');
99-
return fs.chmod(contrlDir, 0o755);
97+
const controlDir = path.join(this.stagingDir, 'DEBIAN')
98+
return fs.chmod(controlDir, 0o755)
10099
})
101100
}
102101

0 commit comments

Comments
 (0)