fix
This commit is contained in:
parent
96ea0eb7b2
commit
afaeaee114
6
dist/beautylog.figlet.js
vendored
6
dist/beautylog.figlet.js
vendored
@ -20,7 +20,7 @@ exports.figlet = function (textArg, optionsArg) {
|
|||||||
console.dir(err);
|
console.dir(err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log(colorFiglet(data, optionsArg.color));
|
console.log(colorFiglet(data, options.color));
|
||||||
options.cb();
|
options.cb();
|
||||||
done.resolve();
|
done.resolve();
|
||||||
});
|
});
|
||||||
@ -34,7 +34,7 @@ exports.figletSync = function (textArg, optionsArg) {
|
|||||||
horizontalLayout: 'default',
|
horizontalLayout: 'default',
|
||||||
verticalLayout: 'default'
|
verticalLayout: 'default'
|
||||||
});
|
});
|
||||||
console.log(colorFiglet(figletString, optionsArg.color));
|
console.log(colorFiglet(figletString, options.color));
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
let colorFiglet = (figletStringArg, colorArg) => {
|
let colorFiglet = (figletStringArg, colorArg) => {
|
||||||
@ -46,4 +46,4 @@ let colorFiglet = (figletStringArg, colorArg) => {
|
|||||||
}
|
}
|
||||||
return figletStringCombined;
|
return figletStringCombined;
|
||||||
};
|
};
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVhdXR5bG9nLmZpZ2xldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2JlYXV0eWxvZy5maWdsZXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDBCQUF1QjtBQUN2QiwrQ0FBK0M7QUFRL0MsSUFBSSxjQUFjLEdBQW1CO0lBQ2pDLElBQUksRUFBRSxXQUFXO0lBQ2pCLEtBQUssRUFBRSxPQUFPO0lBQ2QsRUFBRSxFQUFFLGNBQVksQ0FBQztDQUNwQixDQUFBO0FBRVUsUUFBQSxNQUFNLEdBQUcsVUFBUyxPQUFlLEVBQUUsVUFBVztJ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UFJLFNBQVMsSUFBSSxXQUFZLENBQUMsQ0FBQyxDQUFDO1FBQ2pDLFNBQVMsR0FBRyxPQUFPLENBQUMsV0FBVyxDQUFDLGFBQWEsQ0FBQyxTQUFTLEVBQUUsUUFBUSxDQUFDLENBQUE7UUFDbEUsb0JBQW9CLEdBQUcsb0JBQW9CLEdBQUcsU0FBUyxHQUFHLElBQUksQ0FBQTtJQUNsRSxDQUFDO0lBQ0QsTUFBTSxDQUFDLG9CQUFvQixDQUFBO0FBQy9CLENBQUMsQ0FBQSJ9
|
@ -30,7 +30,7 @@ export let figlet = function(textArg: string, optionsArg?){
|
|||||||
console.dir(err)
|
console.dir(err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
console.log(colorFiglet(data, optionsArg.color))
|
console.log(colorFiglet(data, options.color))
|
||||||
options.cb()
|
options.cb()
|
||||||
done.resolve()
|
done.resolve()
|
||||||
}
|
}
|
||||||
@ -46,7 +46,7 @@ export let figletSync = function(textArg: string,optionsArg?: IFigletOptions){
|
|||||||
horizontalLayout: 'default',
|
horizontalLayout: 'default',
|
||||||
verticalLayout: 'default'
|
verticalLayout: 'default'
|
||||||
})
|
})
|
||||||
console.log(colorFiglet(figletString, optionsArg.color))
|
console.log(colorFiglet(figletString, options.color))
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user