mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-09-15 04:17:22 +00:00
14 lines
378 B
JavaScript
14 lines
378 B
JavaScript
'use strict';
|
|
|
|
var format = require('./format');
|
|
|
|
/*
|
|
* function align (info)
|
|
* Returns a new instance of the align Format which adds a `\t`
|
|
* delimiter before the message to properly align it in the same place.
|
|
* It was previously { align: true } in winston < 3.0.0
|
|
*/
|
|
module.exports = format(function (info) {
|
|
info.message = "\t".concat(info.message);
|
|
return info;
|
|
}); |