Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
esinx committed Sep 30, 2020
1 parent 87ac707 commit 11cab2b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ let config: ICamelotConfig | null = null;

const loadConfig = async () => {
try {
const c = await connection.workspace.getConfiguration("camelot");
config = c;
console.log({ config });
config = await connection.workspace.getConfiguration("camelot");
} catch (error) {
console.error(error);
}
Expand Down

0 comments on commit 11cab2b

Please sign in to comment.