File tree Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Node CI
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build :
7
+
8
+ runs-on : windows-latest
9
+
10
+ strategy :
11
+ matrix :
12
+ node-version : [8.x, 10.x, 12.x]
13
+
14
+ steps :
15
+ - uses : actions/checkout@v1
16
+ - name : Use Node.js ${{ matrix.node-version }}
17
+ uses : actions/setup-node@v1
18
+ with :
19
+ node-version : ${{ matrix.node-version }}
20
+ - name : install dependencies
21
+ run : npm install
22
+ env :
23
+ CI : true
24
+ - name : test
25
+ run : npm test
26
+ env :
27
+ CI : true
Original file line number Diff line number Diff line change @@ -977,7 +977,7 @@ function getParentType(prop: ts.Symbol): ParentType | undefined {
977
977
const parentName = parent . name . text ;
978
978
const { fileName } = parent . getSourceFile ( ) ;
979
979
980
- const fileNameParts = fileName . split ( path . sep ) ;
980
+ const fileNameParts = fileName . split ( '/' ) ;
981
981
const trimmedFileNameParts = fileNameParts . slice ( ) ;
982
982
983
983
while ( trimmedFileNameParts . length ) {
@@ -988,7 +988,7 @@ function getParentType(prop: ts.Symbol): ParentType | undefined {
988
988
}
989
989
let trimmedFileName ;
990
990
if ( trimmedFileNameParts . length ) {
991
- trimmedFileName = trimmedFileNameParts . join ( path . sep ) ;
991
+ trimmedFileName = trimmedFileNameParts . join ( '/' ) ;
992
992
} else {
993
993
trimmedFileName = fileName ;
994
994
}
You can’t perform that action at this time.
0 commit comments