Skip to content

Commit

Permalink
Replace console.info with tauri log plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jensim committed Jan 3, 2023
1 parent b6e9ca0 commit fa5ee78
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.env
TODO.md

# Logs
logs
Expand Down
2 changes: 1 addition & 1 deletion src/service/git/cloneWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async function restoreRepoFromKeep(keepPath: string, clonePath: string, branch:
try {
await removeDir(clonePath, {recursive: true});
} catch (e) {
console.info('Exception pre-cleaning dir ' + asString(e))
info('Exception pre-cleaning dir ' + asString(e))
}
await createDir(clonePath, {recursive: true});
const keepFsList: FileEntry[] = await fs.readDir(keepPath)
Expand Down
5 changes: 3 additions & 2 deletions src/ui/settings/EnvValidationWarning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ export const EnvValidationWarning: React.FC = () => {
onClick={() => open('https://gist.github.com/rchurchley/cb8478caec1d1319abac')}
>/homebrew not found on PATH</Typography>
</Tooltip>
<Typography variant={"caption"}>This could be a sign that you need to set your launcher path from your
terminal</Typography>
<Typography variant={"caption"}>
This could be a sign that you need to set your launcher path from your terminal
</Typography>
<Typography variant={"body2"}>
<pre>sudo launchctl config user path $PATH</pre>
</Typography>
Expand Down

0 comments on commit fa5ee78

Please sign in to comment.