mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove traces
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
ed99f24420
commit
4feff54796
@ -21,8 +21,6 @@ const appPathsStateInjectable = getInjectable({
|
|||||||
},
|
},
|
||||||
|
|
||||||
set: (newState: AppPaths) => {
|
set: (newState: AppPaths) => {
|
||||||
console.trace("whereamI?");
|
|
||||||
|
|
||||||
if (state) {
|
if (state) {
|
||||||
throw new Error("Tried to overwrite existing state of app paths.");
|
throw new Error("Tried to overwrite existing state of app paths.");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,11 +7,7 @@ import appPathsInjectable from "../app-paths.injectable";
|
|||||||
|
|
||||||
const directoryForUserDataInjectable = getInjectable({
|
const directoryForUserDataInjectable = getInjectable({
|
||||||
id: "directory-for-user-data",
|
id: "directory-for-user-data",
|
||||||
instantiate: (di) => {
|
instantiate: (di) => di.inject(appPathsInjectable).userData,
|
||||||
console.trace("whereamI?");
|
|
||||||
|
|
||||||
return di.inject(appPathsInjectable).userData;
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export default directoryForUserDataInjectable;
|
export default directoryForUserDataInjectable;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user