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

Fixed: typescript files don't show in {N} debugger. #2200

Merged
merged 1 commit into from
Nov 15, 2016

Conversation

tzraikov
Copy link
Contributor

@tzraikov tzraikov commented Nov 7, 2016

No description provided.

@tzraikov tzraikov force-pushed the raikov/fix-debug-ts branch from ab97a55 to 061804b Compare November 7, 2016 12:30
let deleteFilesFutures = allFiles.filter(file => minimatch(file, "**/*.ts", { nocase: true })).map(file => this.$fs.deleteFile(file));
Future.wait(deleteFilesFutures);
if (this.$options.release) {
let deleteFilesFutures = allFiles.filter(file => minimatch(file, "**/*.ts", { nocase: true })).map(file => this.$fs.deleteFile(file));
Copy link
Contributor

Choose a reason for hiding this comment

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

if and else statements are executing the same actions, the only difference is the pattern passed to minimatch. Is there a particular reason for splitting the two actions in if-else statement instead of modifying only the pattern?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

pattern updated

@tzraikov tzraikov force-pushed the raikov/fix-debug-ts branch from 061804b to 778e784 Compare November 7, 2016 12:41
Copy link
Contributor

@rosen-vladimirov rosen-vladimirov left a comment

Choose a reason for hiding this comment

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

After green build

@tzraikov tzraikov merged commit d1c2d4e into master Nov 15, 2016
@tzraikov tzraikov deleted the raikov/fix-debug-ts branch November 15, 2016 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants