File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 4
4
*/
5
5
6
6
import {
7
- filename_extension_notilde ,
7
+ filename_extension ,
8
8
meta_file ,
9
9
path_split ,
10
10
defaults ,
@@ -148,7 +148,7 @@ function get_ed(
148
148
ext =
149
149
ext ??
150
150
altExt [ key ( project_id , path ) ] ??
151
- filename_extension_notilde ( path ) . toLowerCase ( ) ;
151
+ filename_extension ( path ) . toLowerCase ( ) ;
152
152
153
153
// either use the one given by ext, or if there isn't one, use the '' fallback.
154
154
const spec =
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ import { retry_until_success } from "@cocalc/util/async-utils";
17
17
import {
18
18
defaults ,
19
19
filename_extension ,
20
- filename_extension_notilde ,
21
20
path_to_tab ,
22
21
required ,
23
22
uuid ,
@@ -173,7 +172,7 @@ export async function open_file(
173
172
} catch ( _ ) {
174
173
// TODO: old projects will not have the new realpath api call -- can delete this try/catch at some point.
175
174
}
176
- let ext = opts . ext ?? filename_extension_notilde ( opts . path ) . toLowerCase ( ) ;
175
+ let ext = opts . ext ?? filename_extension ( opts . path ) . toLowerCase ( ) ;
177
176
178
177
// Next get the group.
179
178
let group : string ;
You can’t perform that action at this time.
0 commit comments