Skip to content

Commit

Permalink
chore(release): 0.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuri committed Aug 8, 2017
1 parent 102ad37 commit bd485e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "abstruse",
"version": "0.8.6",
"version": "0.8.7",
"description": "Abstruse CI",
"bin": {
"abstruse": "./dist/api/index.js"
Expand Down
4 changes: 3 additions & 1 deletion src/app/components/app-terminal/app-terminal.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ export class AppTerminalComponent implements OnInit {
} else {
const output: string = this.au.ansi_to_html(this.data);
const regex = /<span(.*)==&gt;(.*)<\/span>/g;
const regexLinux = /<span(.*)==>(.*)<\/span>/g;
let match;
let commands: string[] = [];

if (output.match(regex)) {
if (output.match(regex) || output.match(regexLinux)) {
while (match = regex.exec(output)) { commands.push(match[0]); }
while (match = regexLinux.exec(output)) { commands.push(match[0]); }

if (commands.length > 1) {
this.commands = [];
Expand Down

0 comments on commit bd485e4

Please sign in to comment.