Strip lego- prefix from files on the brick
This commit is contained in:
parent
de0b5f0d86
commit
227f9614b0
@ -41,7 +41,8 @@ namespace pxt.editor {
|
||||
export function deployCoreAsync(resp: pxtc.CompileResult, isCli = false) {
|
||||
let w: Ev3Wrapper
|
||||
|
||||
let filename = resp.downloadFileBaseName
|
||||
let filename = resp.downloadFileBaseName || "pxt"
|
||||
filename = filename.replace(/^lego-/, "")
|
||||
|
||||
let fspath = "../prjs/BrkProg_SAVE/"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user