Fix import of "commander"
The default import was deprecated ages ago, and in v12 it has now finally been changed in a breaking way. Change the code to import things the proper way.
This commit is contained in:
parent
60643fe695
commit
cd927723bc
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
const path = require('path');
|
||||
const program = require('commander');
|
||||
const { program } = require('commander');
|
||||
const fs = require('fs');
|
||||
const fse = require('fs-extra');
|
||||
const babel = require('@babel/core');
|
||||
|
|
Loading…
Reference in New Issue