mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-20 12:11:28 -07:00
chore: make pretty
This commit is contained in:
@@ -138,8 +138,5 @@ test('configureEarlyAppPaths pins userData to canonical SubMiner config dir', ()
|
||||
);
|
||||
|
||||
assert.equal(userDataPath, '/tmp/xdg/SubMiner');
|
||||
assert.deepEqual(calls, [
|
||||
'name:SubMiner',
|
||||
'path:userData:/tmp/xdg/SubMiner',
|
||||
]);
|
||||
assert.deepEqual(calls, ['name:SubMiner', 'path:userData:/tmp/xdg/SubMiner']);
|
||||
});
|
||||
|
||||
@@ -79,10 +79,7 @@ export function normalizeStartupArgv(argv: string[], env: NodeJS.ProcessEnv): st
|
||||
return argv;
|
||||
}
|
||||
|
||||
export function configureEarlyAppPaths(
|
||||
app: EarlyAppLike,
|
||||
options?: EarlyAppPathOptions,
|
||||
): string {
|
||||
export function configureEarlyAppPaths(app: EarlyAppLike, options?: EarlyAppPathOptions): string {
|
||||
const userDataPath = resolveConfigDir({
|
||||
platform: options?.platform ?? process.platform,
|
||||
appDataDir: options?.appDataDir ?? process.env.APPDATA,
|
||||
|
||||
Reference in New Issue
Block a user