Skip to content

Commit

Permalink
Fix import of "commander"
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
CendioOssman committed Feb 5, 2024
1 parent 60643fe commit cd92772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/convert.js
Original file line number Diff line number Diff line change
@@ -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');
Expand Down

0 comments on commit cd92772

Please sign in to comment.