@ericrisco/rsc 1.3.0 → 1.3.1
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/manifest.json +1 -1
- package/package.json +1 -1
- package/scripts/doctor.js +3 -1
package/manifest.json
CHANGED
package/package.json
CHANGED
package/scripts/doctor.js
CHANGED
|
@@ -145,7 +145,9 @@ export function doctor({ target, home, cwd }) {
|
|
|
145
145
|
designStartingPoint: startingPointSummary(root),
|
|
146
146
|
// An inert gate must never read as an armed one (the same rule the sello follows):
|
|
147
147
|
// the gitmoji guard has a per-project kill switch, so say which state it is in.
|
|
148
|
-
gitmojiGuard:
|
|
148
|
+
gitmojiGuard: state.policy?.gitmojiGuard === false
|
|
149
|
+
? 'deferred'
|
|
150
|
+
: existsSync(join(root, '.rsc', '.no-gitmoji')) ? 'opted-out' : 'armed',
|
|
149
151
|
// Counted, never interpreted — by spec, the gap log's reader is the user.
|
|
150
152
|
automationGaps: countGaps(root),
|
|
151
153
|
memory,
|