Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Warnings on gulp build #112

Open
mterron opened this issue Feb 1, 2018 · 0 comments
Open

Warnings on gulp build #112

mterron opened this issue Feb 1, 2018 · 0 comments

Comments

@mterron
Copy link

mterron commented Feb 1, 2018

When building the web ui from source, gulp spits a number of warnings:

- Gulp build...
[20:50:53] Using gulpfile /opt/minemeld/www/minemeld-webui-0.9.44/gulpfile.js
[20:50:53] Starting 'scripts'...
[20:50:54] Starting 'styles'...
[20:50:55] Starting 'partials'...
[20:50:56] Starting 'fonts'...
[20:50:56] Starting 'other'...
[20:50:57] gulp-inject 16 files into index.scss.
[20:51:08] Finished 'other' after 12 s
[20:51:33] Finished 'styles' after 39 s
[20:51:37] Finished 'fonts' after 41 s
[20:52:14] Time: 76739ms
          Asset     Size  Chunks             Chunk Names
index.module.js  1.77 MB       0  [emitted]  main

WARNING in ./src/app/nodedetail/localdb.controller.ts
[500, 9]: for (... in ...) statements must be filtered with an if statement
[67, 30]: expected parameter: 'result' to have a typedef
[97, 30]: expected parameter: 'result' to have a typedef
[364, 53]: expected parameter: 'key' to have a typedef
[475, 49]: expected parameter: 'key' to have a typedef


WARNING in ./src/app/nodedetail/nodedetail.info.controller.ts
[90, 5]: Declaration of public instance member function not allowed to appear after declaration of private instance member function


WARNING in ./src/app/nodedetail/proofpoint.controller.ts
[270, 24]: != should be !==


WARNING in ./src/app/nodedetail/recordedfuture.controller.ts
[138, 24]: != should be !==


WARNING in ./src/app/nodedetail/taxiiclient.controller.ts
[111, 65]: == should be ===


WARNING in ./src/app/nodedetail/yamlipv4.controller.ts
[449, 29]: forbidden bitwise operation


WARNING in ./src/app/dashboard/dashboard.controller.ts
[173, 19]: comment must start with lowercase letter


WARNING in ./src/app/system/system.controller.ts
[105, 34]: == should be ===
[125, 34]: == should be ===
[150, 34]: == should be ===
[199, 34]: == should be ===


WARNING in ./src/app/system/extensions.controller.ts
[528, 15]: comment must start with lowercase letter
[416, 56]: == should be ===
[509, 30]: == should be ===


WARNING in ./src/app/config/config.controller.ts
[205, 34]: == should be ===
[205, 68]: == should be ===
[610, 37]: == should be ===
[633, 28]: == should be ===
[726, 32]: == should be ===


WARNING in ./src/app/config/configimport.controller.ts
[403, 9]: for (... in ...) statements must be filtered with an if statement


WARNING in ./src/app/config/configadd.controller.ts
[111, 59]: == should be ===
[157, 24]: == should be ===
[187, 25]: == should be ===
[194, 31]: == should be ===


WARNING in ./src/app/admin/admin.users.controller.ts
[59, 13]: unused variable: 'lastUser'
[68, 31]: == should be ===


WARNING in ./src/app/indicatoradd/indicatoradd.controller.ts
[188, 29]: forbidden bitwise operation


WARNING in ./src/app/components/navbar/navbar.directive.ts
[79, 28]: != should be !==
[84, 45]: != should be !==


WARNING in ./src/app/components/suggestion/suggestion.directive.ts
[31, 9]: 'toastr' cannot be declared in the constructor
[32, 9]: '$modal' cannot be declared in the constructor
[93, 17]: '$modalInstance' cannot be declared in the constructor
[58, 19]: expected parameter: 'result' to have a typedef
[60, 28]: expected parameter: 'success' to have a typedef
[63, 26]: expected parameter: 'error' to have a typedef
[75, 19]: expected parameter: 'result' to have a typedef


WARNING in ./src/app/services/minemeldapi.ts
[197, 20]: == should be ===


WARNING in ./src/app/services/status.ts
[320, 12]: trailing whitespace


WARNING in ./src/app/services/prototype.ts
[16, 28]: comment must start with lowercase letter


WARNING in ./src/app/services/events.ts
[110, 63]: == should be ===


WARNING in ./src/app/services/traced.ts
[224, 21]: forbidden bitwise operation
[226, 38]: forbidden bitwise operation
[226, 38]: forbidden bitwise operation


WARNING in ./src/app/services/enginestatus.ts
[85, 50]: != should be !==
[111, 30]: != should be !==


WARNING in ./src/app/services/jobs.ts
[122, 35]: != should be !==
[126, 39]: != should be !==


WARNING in ./src/app/services/currentuser.ts
[51, 30]: == should be ===

[20:52:16] Finished 'scripts' after 1.37 min
[20:52:16] Starting 'inject'...
[20:52:16] gulp-inject 1 files into index.html.
[20:52:16] gulp-inject 1 files into index.html.
[20:52:16] Finished 'inject' after 170 ms
[20:52:17] Finished 'partials' after 1.35 min
[20:52:17] Starting 'html'...
[20:52:17] gulp-inject 1 files into index.html.
[20:52:44] dist/ maps/styles/app-4ff0e3d5ef.css.map 66.3 kB
[20:52:44] dist/ maps/scripts/app-299ade687d.js.map 532.66 kB
[20:52:47] dist/ maps/styles/vendor-c4f9a6a927.css.map 44.17 kB
[20:53:54] dist/ maps/scripts/vendor-c1a4d9da14.js.map 2.09 MB
[20:53:54] dist/ styles/app-4ff0e3d5ef.css 165.79 kB
[20:53:54] dist/ scripts/app-299ade687d.js 572.74 kB
[20:53:54] dist/ styles/vendor-c4f9a6a927.css 108.13 kB
[20:53:54] dist/ scripts/vendor-c1a4d9da14.js 1.51 MB
[20:53:54] dist/ index.html 1.12 kB
[20:53:54] dist/ all files 5.09 MB
[20:53:54] Finished 'html' after 1.62 min
[20:53:54] Starting 'build'...
[20:53:54] Finished 'build' after 153 μs
@mterron mterron changed the title Warning on build Warning on gulp build Feb 1, 2018
@mterron mterron changed the title Warning on gulp build Warnings on gulp build Feb 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant