Closed tryone144 closed 5 years ago
The last version does not populate the snippets property of the settings, thus not replacing these variables in the script. This PR changes the snippets property to be properly populated by the fromJSON method.
snippets
fromJSON
This feature is documented in https://github.com/ifrost/afterwriting-labs/blob/master/docs/clients.md#snippets for the CLI client. The client.fountain script works as intended again after applying this patch.
This regression was introduced between release v1.2.28 and v1.3.0, somewhere between 98ed12f and 955ebe3.
v1.2.28
v1.3.0
The last version does not populate the
snippets
property of the settings, thus not replacing these variables in the script. This PR changes thesnippets
property to be properly populated by thefromJSON
method.This feature is documented in https://github.com/ifrost/afterwriting-labs/blob/master/docs/clients.md#snippets for the CLI client. The client.fountain script works as intended again after applying this patch.
This regression was introduced between release
v1.2.28
andv1.3.0
, somewhere between 98ed12f and 955ebe3.