mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Add event log to editor
Shows output from git pull/push and npm install in the editor
This commit is contained in:
13
packages/node_modules/node-red/lib/red.js
vendored
13
packages/node_modules/node-red/lib/red.js
vendored
@@ -38,18 +38,6 @@ function checkVersion(userSettings) {
|
||||
}
|
||||
}
|
||||
|
||||
function checkBuild() {
|
||||
console.log("Skipping red.js/checkBuild");
|
||||
// var editorFile = path.resolve(path.join(__dirname,"..","..","..","..","public","red","red.min.js"));
|
||||
// try {
|
||||
// var stats = fs.statSync(editorFile);
|
||||
// } catch(err) {
|
||||
// var e = new Error("Node-RED not built");
|
||||
// e.code = "not_built";
|
||||
// throw e;
|
||||
// }
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
init: function(httpServer,userSettings) {
|
||||
if (!userSettings) {
|
||||
@@ -59,7 +47,6 @@ module.exports = {
|
||||
|
||||
if (!userSettings.SKIP_BUILD_CHECK) {
|
||||
checkVersion(userSettings);
|
||||
checkBuild();
|
||||
}
|
||||
|
||||
if (!userSettings.coreNodesDir) {
|
||||
|
Reference in New Issue
Block a user