Skip to content

Commit

Permalink
feat: update sync script use es module
Browse files Browse the repository at this point in the history
  • Loading branch information
wxsms committed Dec 15, 2023
1 parent 9ecf3d6 commit b7c37cd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/sync.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const { Command } = require('commander');
const SimpleGit = require('simple-git');
import { Command } from 'commander';
import SimpleGit from 'simple-git';
import open from 'open';

const program = new Command();
const open = require('open');

async function getLatestSyncHash () {
const git = SimpleGit();
Expand Down

0 comments on commit b7c37cd

Please sign in to comment.