Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

Commit 312fa2c

Browse files
committed
fix log symbols errors
1 parent cc2a68d commit 312fa2c

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

example.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
// import spinner
22
const { spnr } = require("./main");
33
const x = spnr("hi").start();
4+
5+
x.succeed("code");

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@secman/spinner",
3-
"version": "0.1.2",
3+
"version": "0.1.21",
44
"description": "simple spinner for secman cli",
55
"main": "main.js",
66
"scripts": {

tools/log.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ const fallback = {
1717

1818
const logSymbols = isUnicodeSupported() ? main : fallback;
1919

20-
module.exports = logSymbols;
20+
module.exports.logSymbols = logSymbols;

0 commit comments

Comments
 (0)