diff --git a/app/config/paths.ts b/app/config/paths.ts index 6032ddd3..2c2ce283 100644 --- a/app/config/paths.ts +++ b/app/config/paths.ts @@ -17,15 +17,15 @@ const homeDirectory = homedir(); let cfgDir = process.env.XDG_CONFIG_HOME ? join(process.env.XDG_CONFIG_HOME, 'Hyper') : process.platform === 'win32' - ? app.getPath('userData') - : join(homeDirectory, '.config', 'Hyper'); + ? app.getPath('userData') + : join(homeDirectory, '.config', 'Hyper'); const legacyCfgPath = join( process.env.XDG_CONFIG_HOME !== undefined ? join(process.env.XDG_CONFIG_HOME, 'hyper') : process.platform == 'win32' - ? app.getPath('userData') - : homedir(), + ? app.getPath('userData') + : homedir(), '.hyper.js' ); diff --git a/cli/api.ts b/cli/api.ts index 9b4e7e32..6c2a4347 100644 --- a/cli/api.ts +++ b/cli/api.ts @@ -14,8 +14,8 @@ const registryUrl = registryUrlModule(); const applicationDirectory = process.env.XDG_CONFIG_HOME ? path.join(process.env.XDG_CONFIG_HOME, 'Hyper') : process.platform === 'win32' - ? path.join(process.env.APPDATA!, 'Hyper') - : path.join(os.homedir(), '.config', 'Hyper'); + ? path.join(process.env.APPDATA!, 'Hyper') + : path.join(os.homedir(), '.config', 'Hyper'); const devConfigFileName = path.join(__dirname, `../hyper.json`); diff --git a/lib/components/searchBox.tsx b/lib/components/searchBox.tsx index 430e8cfb..55a72f16 100644 --- a/lib/components/searchBox.tsx +++ b/lib/components/searchBox.tsx @@ -150,8 +150,8 @@ const SearchBox = forwardRef((props, ref) => { {results === undefined ? '' : results.resultCount === 0 - ? 'No results' - : `${results.resultIndex + 1} of ${results.resultCount}`} + ? 'No results' + : `${results.resultIndex + 1} of ${results.resultCount}`}