Skip to content

Commit e9aee76

Browse files
committed
fix: embolster the photons. errr more env
1 parent 401f772 commit e9aee76

File tree

22 files changed

+27
-22
lines changed

22 files changed

+27
-22
lines changed

tests/builders/ember-cli-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = async function (defaults) {
2929
});
3030

3131
setConfig(app, __dirname, {
32-
compatWith: process.env.EMBER_DATA_FULL_COMPAT ? '99.0' : null,
32+
compatWith: process.env.EMBER_DATA_FULL_COMPAT === 'true' ? '99.0' : null,
3333
});
3434

3535
app.import('node_modules/@warp-drive/diagnostic/dist/styles/dom-reporter.css');

tests/core/babel.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const pkg = JSON.parse(readFileSync(new URL('./package.json', import.meta.url),
88
const Macros = buildMacros({
99
configure: (config) => {
1010
setConfig(config, {
11-
compatWith: process.env.EMBER_DATA_FULL_COMPAT ? '99.0' : null,
11+
compatWith: process.env.EMBER_DATA_FULL_COMPAT === 'true' ? '99.0' : null,
1212
deprecations: {
1313
DEPRECATE_STORE_EXTENDS_EMBER_OBJECT: false,
1414
DEPRECATE_TRACKING_PACKAGE: false,

tests/ember-data__adapter/ember-cli-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = async function (defaults) {
1919
});
2020

2121
setConfig(app, __dirname, {
22-
compatWith: process.env.EMBER_DATA_FULL_COMPAT ? '99.0' : null,
22+
compatWith: process.env.EMBER_DATA_FULL_COMPAT === 'true' ? '99.0' : null,
2323
});
2424

2525
app.import('node_modules/@warp-drive/diagnostic/dist/styles/dom-reporter.css');

tests/ember-data__graph/ember-cli-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = async function (defaults) {
1919
});
2020

2121
setConfig(app, __dirname, {
22-
compatWith: process.env.EMBER_DATA_FULL_COMPAT ? '99.0' : null,
22+
compatWith: process.env.EMBER_DATA_FULL_COMPAT === 'true' ? '99.0' : null,
2323
deprecations: {
2424
DEPRECATE_STORE_EXTENDS_EMBER_OBJECT: false,
2525
},

tests/ember-data__model/ember-cli-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = async function (defaults) {
1919
});
2020

2121
setConfig(app, __dirname, {
22-
compatWith: process.env.EMBER_DATA_FULL_COMPAT ? '99.0' : null,
22+
compatWith: process.env.EMBER_DATA_FULL_COMPAT === 'true' ? '99.0' : null,
2323
});
2424

2525
app.import('node_modules/@warp-drive/diagnostic/dist/styles/dom-reporter.css');

tests/ember-data__request/ember-cli-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = async function (defaults) {
1919
});
2020

2121
setConfig(app, __dirname, {
22-
compatWith: process.env.EMBER_DATA_FULL_COMPAT ? '99.0' : null,
22+
compatWith: process.env.EMBER_DATA_FULL_COMPAT === 'true' ? '99.0' : null,
2323
});
2424

2525
app.import('node_modules/@warp-drive/diagnostic/dist/styles/dom-reporter.css');

tests/ember-data__serializer/ember-cli-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = async function (defaults) {
2222
});
2323

2424
setConfig(app, __dirname, {
25-
compatWith: process.env.EMBER_DATA_FULL_COMPAT ? '99.0' : null,
25+
compatWith: process.env.EMBER_DATA_FULL_COMPAT === 'true' ? '99.0' : null,
2626
});
2727

2828
return app.toTree();

tests/experiments/babel.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { macros } from '@warp-drive/core/build-config/babel-macros';
55
const Macros = buildMacros({
66
configure: (config) => {
77
setConfig(config, {
8-
compatWith: process.env.EMBER_DATA_FULL_COMPAT ? '99.0' : null,
8+
compatWith: process.env.EMBER_DATA_FULL_COMPAT === 'true' ? '99.0' : null,
99
deprecations: {
1010
DEPRECATE_TRACKING_PACKAGE: false,
1111
},

tests/fastboot/ember-cli-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = async function (defaults) {
1919
});
2020

2121
setConfig(app, __dirname, {
22-
compatWith: process.env.EMBER_DATA_FULL_COMPAT ? '99.0' : null,
22+
compatWith: process.env.EMBER_DATA_FULL_COMPAT === 'true' ? '99.0' : null,
2323
deprecations: {
2424
DEPRECATE_STORE_EXTENDS_EMBER_OBJECT: false,
2525
DEPRECATE_TRACKING_PACKAGE: false,

tests/framework-ember/babel.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { macros } from '@warp-drive/core/build-config/babel-macros';
55
const Macros = buildMacros({
66
configure: (config) => {
77
setConfig(config, {
8-
compatWith: process.env.EMBER_DATA_FULL_COMPAT ? '99.0' : null,
8+
compatWith: process.env.EMBER_DATA_FULL_COMPAT === 'true' ? '99.0' : null,
99
deprecations: {
1010
DEPRECATE_TRACKING_PACKAGE: false,
1111
},

0 commit comments

Comments
 (0)