mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-09 22:04:38 +00:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user