@couch-kit/cli 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2226,9 +2226,7 @@ function reconstructArgs(options) {
2226
2226
  const args = [];
2227
2227
  for (const [key, value] of Object.entries(options)) {
2228
2228
  if (typeof value === "boolean") {
2229
- if (value)
2230
- args.push(`--${key}`);
2231
- else
2229
+ if (!value)
2232
2230
  args.push(`--no-${key}`);
2233
2231
  } else if (value !== undefined) {
2234
2232
  args.push(`--${key}`, String(value));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@couch-kit/cli",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "CLI tools for Couch Kit party games — bundle web controllers, simulate clients, and scaffold projects",
5
5
  "license": "MIT",
6
6
  "repository": {