Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/typos'
Browse files Browse the repository at this point in the history
  • Loading branch information
pirxpilot committed Apr 24, 2024
2 parents 120421c + 87fc2d3 commit eddc521
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const app = module.exports = express();
if (!process.env.SITE_URL) {
process.env.SITE_URL = app.get('env') === 'production' ?
'https://liftie.info' :
'http://locahost:3000';
'http://localhost:3000';
}

const root = path.join(__dirname, 'public');
Expand Down
4 changes: 2 additions & 2 deletions lib/tools/coerce.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function slice(str, [from, to]) {

/*
* slice, trim, lowercase and coerce to standard liftie statuses
* If no usuable status is found, return 'scheduled'
* If no usable status is found, return 'scheduled'
*/
function coerceStatus(status, ...dels) {
if (status) {
Expand All @@ -100,7 +100,7 @@ function coerceStatus(status, ...dels) {
}
let s = map[status];
if (!s) {
debug('Uknown status %s. Treated as <scheduled>', status);
debug('Unknown status %s. Treated as <scheduled>', status);
s = 'scheduled';
}
return s;
Expand Down
2 changes: 1 addition & 1 deletion lib/weather/openweather.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function snowInInches(snow) {
if (!snow) {
return 0;
}
snow *= 0.0393701; // milimeters to inches
snow *= 0.0393701; // millimeters to inches
return Math.round(snow);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"morgan": "^1.9.0",
"qs": "^6.3.0",
"ro-rating": "^1.0.2",
"superagent": "~8",
"superagent": "~9",
"tiny-pager": "^1.0.0",
"to-title-case": "^1.0.0"
},
Expand Down
17 changes: 8 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eddc521

Please sign in to comment.