Skip to content

Commit

Permalink
Handle requestors collection being nil
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusDoe committed Nov 3, 2023
1 parent 9cc05e4 commit 38d83eb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ squotCopyWithSources: aCollection notifying: requestors ifFail: aBlock
| category source sourceRequestor timeStamp |
category := aCollection first.
source := aCollection second.
sourceRequestor := requestors second.
sourceRequestor := requestors ifNotNil: #second.
timeStamp := aCollection third.
self selector = (Parser new parseSelector: source) ifFalse: [^ aBlock value: 'expected selector not to change'].
[Parser new "check syntax"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"squotAddToChangeSet:" : "jr 4/14/2020 14:46",
"squotBelongsToClass" : "jr 9/8/2020 22:00",
"squotChangePath" : "mad 9/2/2023 19:13",
"squotCopyWithSources:notifying:ifFail:" : "mad 10/24/2023 19:36",
"squotCopyWithSources:notifying:ifFail:" : "mad 11/3/2023 16:01",
"squotDiffNodeSummary" : "jr 4/17/2017 01:42",
"squotGroup" : "jr 9/8/2020 21:00",
"squotIsInChangeSet:" : "jr 9/8/2020 22:29",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
squotCopyWithSources: aCollection notifying: requestors ifFail: aBlock
| source sourceRequestor |
source := aCollection first.
sourceRequestor := requestors first.
sourceRequestor := requestors ifNotNil: #first.
Parser new "check syntax"
parse: source
class: ProtoObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
},
"instance" : {
"browseFromSquotWorkingCopyArtifact:" : "jr 7/9/2022 11:13",
"squotCopyWithSources:notifying:ifFail:" : "mad 10/24/2023 19:37",
"squotCopyWithSources:notifying:ifFail:" : "mad 11/3/2023 16:01",
"squotGroup" : "jr 9/9/2020 18:51",
"squotSourcesHelp" : "mad 9/13/2023 13:24",
"squotSourcesStylerClasses" : "mad 9/13/2023 13:40" } }

0 comments on commit 38d83eb

Please sign in to comment.