mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
d57edaa4c1
commit
3999690062
@ -35,7 +35,7 @@ var settings;
|
|||||||
const moduleRe = /^(@[^/@]+?[/])?[^/@]+?$/;
|
const moduleRe = /^(@[^/@]+?[/])?[^/@]+?$/;
|
||||||
const slashRe = process.platform === "win32" ? /\\|[/]/ : /[/]/;
|
const slashRe = process.platform === "win32" ? /\\|[/]/ : /[/]/;
|
||||||
const pkgurlRe = /^(https?|git(|\+https?|\+ssh|\+file)):\/\//;
|
const pkgurlRe = /^(https?|git(|\+https?|\+ssh|\+file)):\/\//;
|
||||||
const localtgzRe = /^\/.+tgz$/;
|
const localtgzRe = /^([a-zA-Z]:|\/).+tgz$/;
|
||||||
|
|
||||||
function init(runtime) {
|
function init(runtime) {
|
||||||
events = runtime.events;
|
events = runtime.events;
|
||||||
|
Loading…
Reference in New Issue
Block a user