another small fix
This commit is contained in:
parent
96c421e96e
commit
9c6e452801
7
dist/early.child.js
vendored
7
dist/early.child.js
vendored
@ -32,14 +32,15 @@ var logEarly = function () {
|
|||||||
rl.write(makeFrame());
|
rl.write(makeFrame());
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
logEarly();
|
logEarly();
|
||||||
}, 200);
|
}, 80);
|
||||||
};
|
};
|
||||||
var start = function (moduleNameArg, loaderLengthArg) {
|
var start = function (moduleNameArg, loaderLengthArg) {
|
||||||
if (moduleNameArg === void 0) { moduleNameArg = ""; }
|
if (moduleNameArg === void 0) { moduleNameArg = ""; }
|
||||||
if (loaderLengthArg === void 0) { loaderLengthArg = "10"; }
|
if (loaderLengthArg === void 0) { loaderLengthArg = "10"; }
|
||||||
|
console.log(process.env.CI);
|
||||||
moduleName = moduleNameArg;
|
moduleName = moduleNameArg;
|
||||||
loaderLength = parseInt(loaderLengthArg);
|
loaderLength = parseInt(loaderLengthArg);
|
||||||
if (!process.env.CI) {
|
if (process.env.CI == "undefined") {
|
||||||
initReadline();
|
initReadline();
|
||||||
logEarly();
|
logEarly();
|
||||||
}
|
}
|
||||||
@ -50,4 +51,4 @@ var start = function (moduleNameArg, loaderLengthArg) {
|
|||||||
};
|
};
|
||||||
start(process.env.moduleNameArg, process.env.loaderLengthArg);
|
start(process.env.moduleNameArg, process.env.loaderLengthArg);
|
||||||
|
|
||||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVhcmx5LmNoaWxkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw2Q0FBNkM7QUFDN0MsSUFBSSxNQUFNLEdBQUcsT0FBTyxDQUFDLFFBQVEsQ0FBQyxDQUFDO0FBQy9CLElBQU8sUUFBUSxXQUFXLFVBQVUsQ0FBQyxDQUFDO0FBQ3RDLElBQUksRUFBRSxDQUFDO0FBQ1AsSUFBSSxZQUFZLEdBQUc7SUFDZix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vhcmx5KCk7XHJcbiAgICB9IGVsc2Uge1xyXG4gICAgICAgIGNvbnNvbGUubG9nKFwiKioqKiBzdGFydGluZyBcIiArIG1vZHVsZU5hbWUuY3lhbiArIFwiICoqKipcIik7XHJcbiAgICB9O1xyXG59O1xyXG5cclxuc3RhcnQocHJvY2Vzcy5lbnYubW9kdWxlTmFtZUFyZyxwcm9jZXNzLmVudi5sb2FkZXJMZW5ndGhBcmcpOyJdfQ==
|
||||||
|
@ -34,13 +34,14 @@ let logEarly = () => {
|
|||||||
rl.write(makeFrame());
|
rl.write(makeFrame());
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
logEarly();
|
logEarly();
|
||||||
},200);
|
},80);
|
||||||
};
|
};
|
||||||
|
|
||||||
let start = function(moduleNameArg:string = "",loaderLengthArg:string = "10"){
|
let start = function(moduleNameArg:string = "",loaderLengthArg:string = "10"){
|
||||||
|
console.log(process.env.CI)
|
||||||
moduleName = moduleNameArg;
|
moduleName = moduleNameArg;
|
||||||
loaderLength = parseInt(loaderLengthArg);
|
loaderLength = parseInt(loaderLengthArg);
|
||||||
if (!process.env.CI){
|
if (process.env.CI == "undefined"){
|
||||||
initReadline();
|
initReadline();
|
||||||
logEarly();
|
logEarly();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user