Skip to content

Commit 65fb8fd

Browse files
committed
Add the parameter to the interface (used only internally, though, need to mark that)
1 parent fd6200b commit 65fb8fd

File tree

6 files changed

+4741
-11
lines changed

6 files changed

+4741
-11
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,11 @@ internal/
5656
!tests/cases/projects/NodeModulesSearch/**/*
5757
!tests/baselines/reference/project/nodeModules*/**/*
5858
.idea
59-
yarn.lock
6059
yarn-error.log
6160
.parallelperf.*
6261
tests/baselines/reference/dt
6362
.failed-tests
6463
TEST-results.xml
65-
package-lock.json
6664
.eslintcache
6765
*v8.log
6866
/lib/

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,15 @@ The configuration is a class which has a few different components.
163163
- MSFS - the lookups you enter are LVars
164164
- X-Plane - the looks ups are via datarefs
165165
- FSUIPC - the lookups are offsets
166-
3. `match()`
166+
3. `flapNames` - see below
167+
4. `match()`
167168
- This needs to return a boolean
168169
- A method (`match()`) which passes some information about the starting aircraft
169170
- For MSFS, it's the aircraft ICAO
170171
- For FSX/P3d, the value looked at is the aircraft title field, offset `0x3D00`
171172
- For X-Plane, the value looked at is `sim/aircraft/view/acf_descrip`
172173
- This method can be used to determine if this rule should match
173-
4. Methods for the different features (see below)
174+
5. Methods for the different features (see below)
174175
- The maps - a group of datarefs or offsets which constitute that feature being "on" or "enabled"
175176

176177
In the above example, for the Fenix A320, the landing lights are controlled by two datarefs, both of which the

gulpfile.mjs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,8 @@ export { watchFiles as watch }
109109
*/
110110
export async function clean() {
111111
try {
112-
if (await fs.promises.exists(paths.dist)) {
113-
await deleteAsync([paths.dist])
114-
await Promise.resolve()
115-
}
112+
await deleteAsync([paths.dist])
113+
await Promise.resolve()
116114
} catch (e) {
117115
console.log(e)
118116
}

0 commit comments

Comments
 (0)