Skip to content

Commit da20b3a

Browse files
authored
docs: follow grammarly advice
1 parent 118a133 commit da20b3a

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Returns usage information for a specific command, or a list of all commands. Equ
120120

121121
Usage: `compile(script, options?, spawnOptions?)`
122122

123-
Compiles specified script with MakeNSIS. The script can be omitted in favor of the [`preExecute`](#preExecute) / [`postExecute`](#postExecute) options.
123+
Compiles the specified script with MakeNSIS. The script can be omitted in favour of the [`preExecute`](#preExecute) / [`postExecute`](#postExecute) options.
124124

125125
#### headerInfo
126126

@@ -144,7 +144,7 @@ Returns the path of `${NSISDIR}`.
144144

145145
Usage: `version(options?, spawnOptions?)`
146146

147-
Returns version of MakeNSIS. Equivalent of the `-VERSION` switch.
147+
Returns the version of MakeNSIS. Equivalent of the `-VERSION` switch.
148148

149149
### Options
150150

@@ -170,7 +170,7 @@ define: {
170170

171171
Type: `boolean`
172172

173-
Enables support for special environment variables, that will be passed on to the script as definitions.
173+
Enables support for special environment variables that will be passed on to the script as definitions.
174174

175175
<details>
176176
<summary><strong>Example</strong></summary>
@@ -259,7 +259,7 @@ Will only run the preprocessor and print the result to stdout. The safe version
259259

260260
Type: `string | string[]`
261261

262-
Prepends script-commands to the script, can be passed as array or multiline-string. Equivalent of the `-X` switch when used _before_ passing a script.
262+
Prepends script-commands to the script, can be passed as an array or multiline string. Equivalent of the `-X` switch when used _before_ passing a script.
263263

264264
<details>
265265
<summary><strong>Example</strong></summary>
@@ -274,7 +274,7 @@ preExecute: ["SetCompressor lzma", "SetCompressorDictSize 16"];
274274

275275
Type: `string | string[]`
276276

277-
Appends commands to the script, can be passed as array or multiline-script. Equivalent of the `-X` switch when used _after_ passing a script.
277+
Appends commands to the script, can be passed as an array or multiline script. Equivalent of the `-X` switch when used _after_ passing a script.
278278

279279
<details>
280280
<summary><strong>Example</strong></summary>
@@ -324,8 +324,7 @@ Gives access to an object containing the exit code, the full `stdout` and `stder
324324
This work is licensed under [The MIT License][the mit license].
325325

326326
[!appendfile]: https://github.com/NSIS-Dev/Documentation/blob/master/Reference/!appendfile.md
327-
[!finalize]: https://github.com/NSIS-Dev/Documentation/blob/master/Reference/!finalize.md
328-
[!finalize]: https://github.com/NSIS-Dev/Documentation/blob/master/Reference/!finalize.md
327+
[!finalize]: https://github.com/NSIS-Dev/Documentation/blob/master/Reference/!finalize.m
329328
[!packhdr]: https://github.com/NSIS-Dev/Documentation/blob/master/Reference/!packhdr.md
330329
[!system]: https://github.com/NSIS-Dev/Documentation/blob/master/Reference/!system.md
331330
[atom-language-nsis]: https://atom.io/packages/language-nsis

0 commit comments

Comments
 (0)