Skip to content

Commit 1e22f19

Browse files
Jami LurockJami Lurock
authored andcommitted
fix issue with error reporting library causing check-errors to fail when error in page exist
1 parent 4fe157a commit 1e22f19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/cli/src/check-errors/verify-sandboxes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import * as puppeteer from 'puppeteer';
2-
import chalk from 'chalk';
32
import { ConsoleMessage, Page } from 'puppeteer';
43
import { SANDBOX_MENU_ITEMS_FILE, SandboxFileInformation } from '../build-sandboxes';
54
import { ErrorReporter, REPORT_TYPE } from '../error-reporter';
65
import { Config } from '../configure';
76
import { waitForNgServe } from '../utils';
7+
const chalk = require('chalk');
88

99
// Used to tailor the version of headless chromium ran by puppeteer
1010
const CHROME_ARGS = ['--disable-gpu', '--no-sandbox'];

projects/cli/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
22
import { run } from './run';
3-
import chalk from 'chalk';
3+
const chalk = require('chalk');
44

55
(async () => {
66
try {

0 commit comments

Comments
 (0)