mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-23 23:59:32 -04:00
Fix syntax
This commit is contained in:
@@ -84,7 +84,7 @@ async function copyFiles (relSource, relDest) {
|
||||
async function install (relDir) {
|
||||
return new Promise((resolve, reject) => {
|
||||
const prefix = path.resolve(__dirname, relDir);
|
||||
npm.load({prefix, production: true, optional: false, }, err => {
|
||||
npm.load({prefix, production: true, optional: false, 'package-lock': false}, err => {
|
||||
if (err) {
|
||||
return reject(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user