@joystick.js/cli-canary 0.0.0-canary.16 → 0.0.0-canary.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/dev/index.js +1 -1
- package/package.json +1 -1
- package/src/lib/dev/index.js +1 -1
package/dist/lib/dev/index.js
CHANGED
|
@@ -327,7 +327,7 @@ const warnInvalidJoystickEnvironment = () => {
|
|
|
327
327
|
);
|
|
328
328
|
process.exit(0);
|
|
329
329
|
}
|
|
330
|
-
if (process.env.NODE_ENV !== "test" &&
|
|
330
|
+
if (process.env.NODE_ENV !== "test" && !hasJoystickFolder) {
|
|
331
331
|
CLILog(
|
|
332
332
|
"joystick start must be run in a directory with a .joystick folder.",
|
|
333
333
|
{
|
package/package.json
CHANGED
package/src/lib/dev/index.js
CHANGED
|
@@ -395,7 +395,7 @@ const warnInvalidJoystickEnvironment = () => {
|
|
|
395
395
|
process.exit(0);
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
if (process.env.NODE_ENV !== 'test' &&
|
|
398
|
+
if (process.env.NODE_ENV !== 'test' && !hasJoystickFolder) {
|
|
399
399
|
CLILog(
|
|
400
400
|
"joystick start must be run in a directory with a .joystick folder.",
|
|
401
401
|
{
|