mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-25 15:40:06 +03:00
Fix cli
This commit is contained in:
parent
83b6c49a45
commit
70a646aedb
|
@ -14,7 +14,7 @@ export default async function openApp(app: true | string, options: Options) {
|
|||
]);
|
||||
} catch (error) {
|
||||
/* eslint-disable no-console */
|
||||
if (error.message === "Cannot find module 'electron'") {
|
||||
if ((error as Error).message === "Cannot find module 'electron'") {
|
||||
// TODO: Move electron to dev-dependences to make our package installation faster when not needed.
|
||||
console.log(
|
||||
' \x1b[1;31m[Warn]\x1b[0m Electron module not installed.\n'
|
||||
|
|
Loading…
Reference in New Issue
Block a user