Skip to content

Commit b7cea55

Browse files
committed
Fix windows ability to checkout project #201
Avoid ':' in filenames by stripping 'remote:' file extension prefix: - Rename `skeleton.remote:llvm-mos` to `skeleton.llvm-mos`, which allow Windows users to once again checkout the repo. - Update `getSkeletonFile` to strip 'remote:'.
1 parent 55984a3 commit b7cea55

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

src/ide/ui.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ function reloadProject(id: string) {
489489
}
490490

491491
async function getSkeletonFile(fileid: string): Promise<string> {
492-
var ext = platform.getToolForFilename(fileid);
492+
var ext = platform.getToolForFilename(fileid).replace(/^remote:/, "");
493493
try {
494494
return await $.get("presets/" + getBasePlatform(platform_id) + "/skeleton." + ext, 'text');
495495
} catch (e) {

0 commit comments

Comments
 (0)