mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-26 07:08:06 +00:00
Follow API changes in commander 7.0.0+
Options now have to be exlicitly requested.
This commit is contained in:
@@ -130,9 +130,11 @@ function makeLibFiles(sourceMaps) {
|
||||
});
|
||||
}
|
||||
|
||||
if (program.clean) {
|
||||
let options = program.opts();
|
||||
|
||||
if (options.clean) {
|
||||
console.log(`Removing ${paths.libDirBase}`);
|
||||
fse.removeSync(paths.libDirBase);
|
||||
}
|
||||
|
||||
makeLibFiles(program.withSourceMaps);
|
||||
makeLibFiles(options.withSourceMaps);
|
||||
|
||||
Reference in New Issue
Block a user