Skip to content

Commit

Permalink
fix: write permission
Browse files Browse the repository at this point in the history
  • Loading branch information
geekdada committed Oct 15, 2019
1 parent 8f5c0a1 commit 5b34129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ export const ensureConfigFolder = (dir: string = os.homedir()): string => {
baseDir = dir;
} catch (err) {
// can't write
baseDir = process.cwd();
baseDir = '/tmp';
}

const configDir = path.join(baseDir, '.config/surgio');
Expand Down

0 comments on commit 5b34129

Please sign in to comment.