|
@@ -1,10 +1,11 @@
|
|
|
-const path = require('path');
|
|
|
-const isRoot = require('is-root');
|
|
|
-const hostile = require('hostile');
|
|
|
const colors = require('colors');
|
|
|
const docker = require('docker-compose');
|
|
|
-const log = require('../inc/log');
|
|
|
+const hostile = require('hostile');
|
|
|
+const isRoot = import('is-root');
|
|
|
+const path = require('path');
|
|
|
+
|
|
|
const ProjectEnvironment = require('../classes/ProjectEnvironment');
|
|
|
+const log = require('../inc/log');
|
|
|
|
|
|
const installHosts = (hosts) => {
|
|
|
if (!isRoot()) {
|