@@ -24,7 +24,7 @@ const packageManagerConfig = {
2424 installPackage : [ 'install' , '--loglevel' , 'error' ] ,
2525 uninstallPackage : [ 'uninstall' , '--loglevel' , 'error' ] ,
2626 updatePackage : [ 'update' , '--loglevel' , 'error' ]
27- } ,
27+ } ,
2828
2929 yarn : {
3030 installDeps : [ ] ,
@@ -197,7 +197,7 @@ function executeCommand (command, args, targetDir) {
197197exports . installDeps = async function installDeps ( targetDir , command , cliRegistry ) {
198198 checkPackageManagerIsSupported ( command )
199199
200- const args = packageManagerConfig [ command ] . installDeps ;
200+ const args = packageManagerConfig [ command ] . installDeps
201201
202202 await addRegistryToArgs ( command , args , cliRegistry )
203203
@@ -210,7 +210,7 @@ exports.installDeps = async function installDeps (targetDir, command, cliRegistr
210210exports . installPackage = async function ( targetDir , command , cliRegistry , packageName , dev = true ) {
211211 checkPackageManagerIsSupported ( command )
212212
213- const args = packageManagerConfig [ command ] . installPackage ;
213+ const args = packageManagerConfig [ command ] . installPackage
214214
215215 if ( dev ) args . push ( '-D' )
216216
@@ -227,7 +227,7 @@ exports.installPackage = async function (targetDir, command, cliRegistry, packag
227227exports . uninstallPackage = async function ( targetDir , command , cliRegistry , packageName ) {
228228 checkPackageManagerIsSupported ( command )
229229
230- const args = packageManagerConfig [ command ] . uninstallPackage ;
230+ const args = packageManagerConfig [ command ] . uninstallPackage
231231
232232 await addRegistryToArgs ( command , args , cliRegistry )
233233
@@ -242,7 +242,7 @@ exports.uninstallPackage = async function (targetDir, command, cliRegistry, pack
242242exports . updatePackage = async function ( targetDir , command , cliRegistry , packageName ) {
243243 checkPackageManagerIsSupported ( command )
244244
245- const args = packageManagerConfig [ command ] . updatePackage ;
245+ const args = packageManagerConfig [ command ] . updatePackage
246246
247247 await addRegistryToArgs ( command , args , cliRegistry )
248248
0 commit comments