meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
1 changed files with
3 additions and
1 deletions
-
src/internals/usb/manager/helpers.js
|
|
@ -205,7 +205,9 @@ export async function getFirmwareInfo(transport: Transport<*>) { |
|
|
|
function log(namespace: string, str: string = '', color?: string) { |
|
|
|
namespace = namespace.padEnd(15) |
|
|
|
const coloredNamespace = color ? chalk[color](namespace) : namespace |
|
|
|
console.log(`${chalk.bold(`> ${coloredNamespace}`)} ${str}`) // eslint-disable-line no-console
|
|
|
|
if (__DEV__) { |
|
|
|
console.log(`${chalk.bold(`> ${coloredNamespace}`)} ${str}`) // eslint-disable-line no-console
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|