mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-25 01:14:23 +01:00
chore: updated check for js sandbox libs
This commit is contained in:
parent
9e5148f032
commit
5f6a5f59b1
@ -3,7 +3,7 @@ const path = require('path');
|
|||||||
const isDev = require('electron-is-dev');
|
const isDev = require('electron-is-dev');
|
||||||
|
|
||||||
if (isDev) {
|
if (isDev) {
|
||||||
if (!fs.existsSync('./src/sandbox/bundle-browser-rollup.js')) {
|
if(!fs.existsSync(path.join(__dirname, '../../bruno-js/src/sandbox/bundle-browser-rollup.js'))) {
|
||||||
console.log('JS Sandbox libraries have not been bundled yet');
|
console.log('JS Sandbox libraries have not been bundled yet');
|
||||||
console.log('Please run the below command \nnpm run sandbox:bundle-libraries --workspace=packages/bruno-js');
|
console.log('Please run the below command \nnpm run sandbox:bundle-libraries --workspace=packages/bruno-js');
|
||||||
throw new Error('JS Sandbox libraries have not been bundled yet');
|
throw new Error('JS Sandbox libraries have not been bundled yet');
|
||||||
|
Loading…
Reference in New Issue
Block a user