small tweaks

This commit is contained in:
Alex Dima 2021-11-16 10:18:57 +01:00
parent 512498b487
commit e1481e0174
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
5 changed files with 17 additions and 11 deletions

View file

@ -10,8 +10,7 @@ const path = require('path');
const fs = require('fs');
const cp = require('child_process');
const npm = process.platform === 'win32' ? 'npm.cmd' : 'npm';
const REPO_ROOT = path.join(__dirname, '../../');
const { REPO_ROOT } = require('../utils');
const files = glob.sync('**/package.json', {
cwd: REPO_ROOT,

View file

@ -8,8 +8,7 @@
const glob = require('glob');
const path = require('path');
const fs = require('fs');
const REPO_ROOT = path.join(__dirname, '../../');
const { REPO_ROOT } = require('../utils');
const files = glob.sync('**/package-lock.json', {
cwd: REPO_ROOT,