Content-Length: 356465 | pFad | http://github.com/NativeScript/NativeScript/commit/172d3463a30cf1ee3727aaa42d6a33505332c6bf

AE fix(core): safe important check (#10455) · NativeScript/NativeScript@172d346 · GitHub
Skip to content

Commit 172d346

Browse files
authored
fix(core): safe important check (#10455)
1 parent 4b74b96 commit 172d346

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

Diff for: .github/workflows/apps_automated.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121

2222
- uses: actions/setup-node@v3
2323
with:
24-
node-version: 18
24+
node-version: 20.10.0
2525

2626
- uses: actions/setup-java@v3
2727
with:
2828
distribution: 'temurin'
29-
java-version: '11'
29+
java-version: '17'
3030

3131
- name: Install Python
3232
uses: actions/setup-python@v4
@@ -49,6 +49,8 @@ jobs:
4949

5050
- name: Create Emulator
5151
uses: rigor789/action-create-emulator@main
52+
with:
53+
package: system-images;android-34;default;x86_64
5254

5355
- name: Test (Android)
5456
run: node tools/scripts/run-automated.js android

Diff for: packages/core/ui/styling/css-utils.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ import { Trace } from '../../trace';
22
import { CoreTypes } from '../../core-types';
33
import { Length } from './style-properties';
44

5-
export function cleanupImportantFlags(value: string, propertyName: string) {
5+
export function cleanupImportantFlags(value: unknown, propertyName: string) {
6+
if (typeof value !== 'string') {
7+
return '' + value;
8+
}
9+
610
const index = value?.indexOf('!important');
711
if (index >= 0) {
812
if (Trace.isEnabled()) {

Diff for: tools/scripts/run-automated.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const spawn = require('child_process').spawn
88
const kill = require('tree-kill');
99
const path = require('path');
1010

11-
const TIMEOUT_MS = 5 * 60 * 1000; // 5 minutes
11+
const TIMEOUT_MS = 20 * 60 * 1000; // 20 minutes (is Github CI this slow to boot AVDs?)
1212
const workspaceDir = path.resolve(__dirname, '../..');
1313
const platform = process.argv[2];
1414
const spawned_process = spawn(

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/NativeScript/NativeScript/commit/172d3463a30cf1ee3727aaa42d6a33505332c6bf

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy