File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ stdin().then(input => {
7
7
8
8
if ( argv . d ) {
9
9
try {
10
- process . stdout . write ( ecoji . default . decode ( input . toString ( ) ) )
10
+ process . stdout . write ( ecoji . decode ( input . toString ( ) ) )
11
11
} catch ( e ) {
12
12
process . stderr . write ( 'You have provided incorrect data' )
13
13
console . error ( e )
14
14
}
15
15
process . stdout . write ( '\n' )
16
16
} else {
17
- process . stdout . write ( ecoji . default . encode ( input ) )
17
+ process . stdout . write ( ecoji . encode ( input ) )
18
18
process . stdout . write ( '\n' )
19
19
}
20
20
Original file line number Diff line number Diff line change 1
- import Ecoji from './src/Ecoji'
2
- import emoji from './src/emojis'
1
+ import Ecoji from './src/Ecoji'
2
+ import emoji from './src/emojis'
3
3
/* tslint:disable-next-line:no-unused-expression */
4
4
import './src/ext'
5
5
import Mapping from './src/Mapping'
6
6
7
- export default new Ecoji ( new Mapping ( emoji ) )
7
+ export = new Ecoji ( new Mapping ( emoji ) )
You can’t perform that action at this time.
0 commit comments