mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2025-02-23 20:51:30 +03:00
Removed a unneeded require
This commit is contained in:
parent
8f0fd79035
commit
2b11817bfa
4 changed files with 92 additions and 131 deletions
|
@ -2,11 +2,10 @@ const child = require('child_process');
|
|||
const path = require('path');
|
||||
const handler = require('./handler');
|
||||
const fs = require('fs');
|
||||
const shelljs = require('shelljs');
|
||||
|
||||
|
||||
module.exports = async function (options) {
|
||||
if (!fs.existsSync(options.root)) fs.mkdirSync(options.root);
|
||||
if(!fs.existsSync(options.root)) fs.mkdirSync(options.root);
|
||||
|
||||
if(options.clientPackage) {
|
||||
await handler.extractPackage(options.root, options.clientPackage);
|
||||
|
|
Loading…
Add table
Reference in a new issue