Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/express-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ function main (options, done) {
if (options.view === true) {
warning('the default view engine will not be jade in future releases\n' +
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary warning if jage is no longer the default.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I remove this warning completely?

"use `--view=jade' or `--help' for additional options")
options.view = 'jade'
options.view = 'pug'
}

// Generate application
Expand Down
4 changes: 3 additions & 1 deletion test/cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ describe('express(1)', function () {
' "debug": "~2.6.9",\n' +
' "express": "~4.17.1",\n' +
' "http-errors": "~1.7.2",\n' +
' "jade": "~1.11.0",\n' +
// replace default jade with pug
// ' "jade": "~1.11.0",\n' +
' "pug": "~3.0.3",\n' +
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incompatible version of pug

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the latest version of pug incompatible? Which version should it be instead?

' "morgan": "~1.10.0"\n' +
' }\n' +
'}\n')
Expand Down
Loading