From 598c11b2c358732ec17c6cdbf8d3155a41d76c30 Mon Sep 17 00:00:00 2001 From: lxsang Date: Sat, 6 Jun 2020 00:33:21 +0200 Subject: [PATCH] fix codepad close error when file is not saved --- src/packages/CodePad/main.ts | 2 +- src/packages/CodePad/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/packages/CodePad/main.ts b/src/packages/CodePad/main.ts index f75b668..707e227 100644 --- a/src/packages/CodePad/main.ts +++ b/src/packages/CodePad/main.ts @@ -928,7 +928,7 @@ namespace OS { (() => { const result1 = []; for (v of Array.from(dirties)) { - result1.push(v.filename()); + result1.push(v.filename); } return result1; })().join(", ") diff --git a/src/packages/CodePad/package.json b/src/packages/CodePad/package.json index 3b368fc..605377b 100644 --- a/src/packages/CodePad/package.json +++ b/src/packages/CodePad/package.json @@ -7,7 +7,7 @@ "email": "xsang.le@gmail.com", "licences": "GPLv3" }, - "version":"0.0.1-a", + "version":"0.0.2-a", "category":"Developments", "iconclass":"fa fa-pencil-square-o", "mimes":[