|
@ -1,7 +1,7 @@ |
|
|
#!/usr/bin/env node |
|
|
#!/usr/bin/env node |
|
|
import minimist from 'minimist'; |
|
|
import minimist from 'minimist'; |
|
|
import { resolve } from 'path'; |
|
|
import { resolve } from 'path'; |
|
|
import { spawn } from 'child_process'; |
|
|
import { spawn } from 'cross-spawn-async'; |
|
|
import checkUpdate from '../lib/check-update'; |
|
|
import checkUpdate from '../lib/check-update'; |
|
|
|
|
|
|
|
|
const argv = minimist(process.argv.slice(2)); |
|
|
const argv = minimist(process.argv.slice(2)); |
|
|