Skip to content

Commit

Permalink
fix #37
Browse files Browse the repository at this point in the history
  • Loading branch information
Huachao committed Sep 19, 2016
1 parent f0371ff commit b67bc18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/requestController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class RequestController {
}

// remove comment lines
let lines: string[] = selectedText.split(EOL);
let lines: string[] = selectedText.split(/\r?\n/g);
selectedText = lines.filter(l => !RequestController.commentIdentifiersRegex.test(l)).join(EOL);
if (selectedText === '') {
return;
Expand Down

0 comments on commit b67bc18

Please sign in to comment.