Skip to content
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

Source without statements loses all top-level comments during 'migrate' #32

Open
codeworrior opened this issue Jul 15, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@codeworrior
Copy link
Member

While working on SAP/openui5@c782ce9 , I encountered the following issue with the ui5-migration tooling:

The file src/sap.m/src/sap/m/SelectionDetailsFacade.js which contains only JSDoc comments, was converted to sap.ui.define (not necessary) and all comments went lost.

After (this is the whole file)

sap.ui.define([], function() {
"use strict";
});

To reproduce, you can execute the following commands

cd openui5
git checkout 6555a38
ui5-migration migrate src/sap.m/src/sap/m/SelectionDetailsFacade.js 
@tobiasso85 tobiasso85 changed the title Source without statements looses all top-level comments during 'migrate' Source without statements loses all top-level comments during 'migrate' Jul 16, 2019
@ecker ecker added the bug Something isn't working label Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants