|
3 | 3 | import Logger from './logger'; |
4 | 4 | import Platform from '../services/platform'; |
5 | 5 | import loadMetadata from '../services/metadata'; |
6 | | -let os = require('os'); |
7 | | -let path = require('path'); |
8 | | -let fs = require('fs'); |
9 | | -let fsExtra = require('fs-extra'); |
10 | | -let electron = require('electron'); |
11 | | -let mkdirp = require('mkdirp'); |
12 | | -let pify = require('pify'); |
13 | | -let child_process = require('child_process'); |
| 6 | +import os from 'os'; |
| 7 | +import path from 'path'; |
| 8 | +import fs from 'fs'; |
| 9 | +import fsExtra from 'fs-extra'; |
| 10 | +import electron from 'electron'; |
| 11 | +import mkdirp from 'mkdirp'; |
| 12 | +import pify from 'pify'; |
| 13 | +import child_process from'child_process'; |
| 14 | + |
14 | 15 |
|
15 | 16 | class InstallerDataService { |
16 | 17 | constructor($state, requirements = require('../../requirements.json'), packageConf = require('../../package.json')) { |
@@ -196,7 +197,7 @@ class InstallerDataService { |
196 | 197 | return appDataPath ? path.join(appDataPath, '..', 'Local', 'RedHat', 'DevSuite') : this.tempDir(); |
197 | 198 | }, darwin: ()=> { |
198 | 199 | let homePath = Platform.ENV.HOME; |
199 | | - return homePath ? path.join(homePath , 'Library', 'Application Support', 'RedHat', 'DevSuite') : this.tempDir(); |
| 200 | + return homePath ? path.join(homePath, 'Library', 'Application Support', 'RedHat', 'DevSuite') : this.tempDir(); |
200 | 201 | }, default: ()=> { |
201 | 202 | return this.tempDir(); |
202 | 203 | } |
|
0 commit comments