We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4b270f commit 22c7b68Copy full SHA for 22c7b68
index.js
@@ -1,3 +1,5 @@
1
+#!/usr/bin/env node
2
+
3
const { exec } = require('child_process');
4
const fs = require('fs');
5
const path = require('path');
@@ -38,7 +40,7 @@ function downloadFile(url, filePath) {
38
40
39
41
ensureDirectoryExists(filePath);
42
- // 如果文件已存在,跳过下载
43
+ // 如果文件已存��,跳过下载
44
if (fs.existsSync(filePath)) {
45
console.log(`File already exists: ${filePath}`);
46
return;
package.json
@@ -1,6 +1,6 @@
{
"name": "resource-save-script",
- "version": "1.0.2",
+ "version": "1.0.3",
"main": "index.js",
"scripts": {
6
"test": "echo \"Error: no test specified\" && exit 1"
0 commit comments