Skip to content
This repository has been archived by the owner on Dec 3, 2018. It is now read-only.

Fix for bs platform 4.0.5 #47

Merged
merged 2 commits into from
Aug 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/bs-loader/test/insource/fixtures/add.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/bs-loader/test/insource/fixtures/fib.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/bs-loader/test/jest-esm/fixtures/add.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/bs-loader/test/jest-esm/fixtures/adder.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/bs-loader/test/jest-esm/fixtures/fib.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/bs-loader/test/no-config/fixtures/add.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/bs-loader/test/no-config/fixtures/fib.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/bs-loader/test/warnings-super/webpack.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ try {

const bsb =
os.platform() === 'darwin'
? `script -q /dev/null ${bsbCommand} -clean-world -color`
? `script -q /dev/null ${bsbCommand} -clean-world`
: os.platform() === 'linux'
? `script --return -qfc "${bsbCommand} -clean-world -color" /dev/null`
? `script --return -qfc "${bsbCommand} -clean-world" /dev/null`
: `${bsbCommand} -clean-world`

it('runs', done => {
Expand Down
4 changes: 2 additions & 2 deletions packages/bs-loader/test/warnings/webpack.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ try {

const bsb =
os.platform() === 'darwin'
? `script -q /dev/null ${bsbCommand} -clean-world -color`
? `script -q /dev/null ${bsbCommand} -clean-world`
: os.platform() === 'linux'
? `script --return -qfc "${bsbCommand} -clean-world -color" /dev/null`
? `script --return -qfc "${bsbCommand} -clean-world" /dev/null`
: `${bsbCommand} -clean-world`

it('runs', done => {
Expand Down
4 changes: 2 additions & 2 deletions packages/bsb-js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ try {
const bsb = (() => {
switch (utils.platform()) {
case 'darwin':
return `script -q /dev/null ${bsbCommand} -make-world -color`
return `script -q /dev/null ${bsbCommand} -make-world`
case 'linux':
return `script --return -qfc "${bsbCommand} -make-world -color" /dev/null`
return `script --return -qfc "${bsbCommand} -make-world" /dev/null`
case 'wsl':
return `${bsbCommand} -make-world`
default:
Expand Down