-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docker + CI #43
Add docker + CI #43
Conversation
src/config.ts
Outdated
interface Config { | ||
bot_token: string; | ||
json_db_path: string; | ||
sequelize: { | ||
force: boolean; | ||
alter: boolean; | ||
} | ||
} | ||
|
||
const rawConfigData = readFileSync(path.join(process.cwd(), './config.json'), { encoding: 'utf-8' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spaces -> tabs and a small styling change just to keep it inline with the rest of the codebase
interface Config { | |
bot_token: string; | |
json_db_path: string; | |
sequelize: { | |
force: boolean; | |
alter: boolean; | |
} | |
} | |
const rawConfigData = readFileSync(path.join(process.cwd(), './config.json'), { encoding: 'utf-8' }); | |
interface Config { | |
bot_token: string; | |
json_db_path: string; | |
sequelize: { | |
force: boolean; | |
alter: boolean; | |
} | |
} | |
const rawConfigData = readFileSync(path.join(process.cwd(), './config.json'), { | |
encoding: 'utf-8' | |
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in latest commit, I thought it had an editorconfig so I didnt pay attention to it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That took care of the spaces but not the rawConfigData
formatting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, didnt notice that changed as well, fixed (I hope?)
LGTM |
changes: