File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
const baseMiddleware = require ( "../middlewares/base.js" ) ;
4
4
5
- let build = {
5
+ const build = {
6
6
command : "build" ,
7
7
describe : "Build project in current directory" ,
8
8
handler : handleBuild ,
Original file line number Diff line number Diff line change 1
1
// Init
2
- let init = {
2
+ const init = {
3
3
command : "init" ,
4
4
describe : "Initialize the UI5 Build and Development Tooling configuration for an application or library project." ,
5
5
middlewares : [ require ( "../middlewares/base.js" ) ]
Original file line number Diff line number Diff line change 1
1
// Serve
2
- let serve = {
2
+ const serve = {
3
3
command : "serve" ,
4
4
describe : "Start a webserver for the current project" ,
5
5
middlewares : [ require ( "../middlewares/base.js" ) ]
@@ -75,7 +75,7 @@ serve.handler = function(argv) {
75
75
}
76
76
} ) . then ( ( serverConfig ) => {
77
77
return server . serve ( tree , serverConfig ) . then ( function ( { h2, port} ) {
78
- let protocol = h2 ? "https" : "http" ;
78
+ const protocol = h2 ? "https" : "http" ;
79
79
let browserUrl = protocol + "://localhost:" + port ;
80
80
if ( argv . open !== undefined ) {
81
81
let relPath = argv . open || "/" ;
Original file line number Diff line number Diff line change 1
1
// Tree
2
- let tree = {
2
+ const tree = {
3
3
command : "tree" ,
4
4
describe : "Outputs the dependency tree of the current project to stdout. It takes all relevant parameters of ui5 build into account." ,
5
5
middlewares : [ require ( "../middlewares/base.js" ) ]
You can’t perform that action at this time.
0 commit comments