Skip to content

Commit

Permalink
ensure that we do not enter interactive mode as our encoder is modded…
Browse files Browse the repository at this point in the history
… to omit important info in interactive mode
  • Loading branch information
tom95 authored Nov 5, 2024
1 parent 8d3849e commit ff328b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ formatString: aString class: aClass noPattern: aBoolean notifying: anObject with
parse: (aString string codeWithEmptyLineMarkersNoPattern: aBoolean)
class: aClass
noPattern: aBoolean
notifying: anObject
notifying: nil
ifFail: nil.

(methodNode hasPragma: #ppIgnore) ifTrue: [^ aString].
Expand All @@ -21,4 +21,4 @@ formatString: aString class: aClass noPattern: aBoolean notifying: anObject with
initForNode: methodNode;
config: aPPFormatterConfig.
methodNode accept: formatter.
^ aBoolean ifTrue: [self stripMethodPattern: formatter contents] ifFalse: [formatter contents]
^ aBoolean ifTrue: [self stripMethodPattern: formatter contents] ifFalse: [formatter contents]

0 comments on commit ff328b3

Please sign in to comment.