UNPKG
antler
Version:
latest (0.2.0)
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0
0.0.1
0.0.0
Directory structure linter
github.com/jakesidsmith/antler
jakesidsmith/antler
antler
/
src
/
antler-warning.ts
12 lines
(8 loc)
•
225 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
chalk
from
'chalk'
;
export
class
AntlerWarning
extends
Error
{
public
message
:
string
;
public
constructor
(
message
:
string
) {
super
(message);
this
.
message
=
`
${chalk.yellow(
'WARNING'
)}
${message}
`
; } }