oipage 1.1.0-alpha.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG +1 -1
- package/nodejs/animation/index.js +1 -1
- package/nodejs/cmdlog/index.js +1 -1
- package/nodejs/disk/index.js +3 -3
- package/nodejs/logform/index.js +1 -1
- package/nodejs/throttle/index.js +1 -1
- package/package.json +1 -1
- package/web/animation/index.js +1 -1
- package/web/onReady/index.js +1 -1
- package/web/style/index.js +1 -1
- package/web/throttle/index.js +1 -1
package/CHANGELOG
CHANGED
package/nodejs/cmdlog/index.js
CHANGED
package/nodejs/disk/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* disk of OIPage v1.1.0
|
|
2
|
+
* disk of OIPage v1.1.0
|
|
3
3
|
* git+https://github.com/oi-contrib/OIPage.git
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -44,9 +44,9 @@ function deleteDisk(diskPath) {
|
|
|
44
44
|
function copyDisk(sourcePath, targetPath, isForce) {
|
|
45
45
|
|
|
46
46
|
// 如果源文件不存在
|
|
47
|
-
if (!existsSync(
|
|
47
|
+
if (!existsSync(sourcePath)) {
|
|
48
48
|
console.log("\x1b[0m\x1b[31m" + sourcePath + "\x1b[0m");
|
|
49
|
-
throw new Error("OIPage: The source path does not exist");
|
|
49
|
+
throw new Error("OIPage: The source path does not exist.");
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
// 如果模板文件已经存在
|
package/nodejs/logform/index.js
CHANGED
package/nodejs/throttle/index.js
CHANGED
package/package.json
CHANGED
package/web/animation/index.js
CHANGED
package/web/onReady/index.js
CHANGED
package/web/style/index.js
CHANGED
package/web/throttle/index.js
CHANGED