Skip to content

Commit

Permalink
fix: 修复ora import引入
Browse files Browse the repository at this point in the history
  • Loading branch information
renkunx committed Dec 6, 2022
1 parent d162962 commit 00eab74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node
"use strict";
const commander = require('commander');
const ora = require('ora');
const ora = import('ora');
const path = require('path');
const log = require("./lib/logging");
const program = new commander.Command();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@renkunx/translate-cli",
"version": "1.1.1",
"version": "1.1.2",
"description": "Machine learning translate any language by public api.",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit 00eab74

Please sign in to comment.