fix for undefined?
This commit is contained in:
parent
720d3a647f
commit
30a74579f9
2 changed files with 2 additions and 2 deletions
|
|
@ -168,7 +168,7 @@ const handle_enter = function () {
|
|||
value = value.description;
|
||||
}
|
||||
} catch (exception) {
|
||||
value = exception ? exception.message : undefined;
|
||||
value = exception.message;
|
||||
}
|
||||
command_history_element.innerText += value.toString() + "\n";
|
||||
command_history.push(command);
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ const path = require('path');
|
|||
const HtmlWebpackPlugin = require("html-webpack-plugin");
|
||||
|
||||
module.exports = {
|
||||
mode: 'production',
|
||||
mode: 'development',
|
||||
entry: './src/js/index.js',
|
||||
|
||||
output: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue