Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ds147000
/
react-project-storage
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 46a5b4d1
authored
Dec 29, 2020
by
杨周龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复错误目录设置
1 parent
3338e5b4
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
17 deletions
src/shell/postOss.js → shell/postOss.js
src/shell/tag.js → shell/tag.js
src/shell/tips.js → shell/tips.js
tag.js
tips.js
s
rc/s
hell/postOss.js
→
shell/postOss.js
View file @
46a5b4d
File moved
s
rc/s
hell/tag.js
→
shell/tag.js
View file @
46a5b4d
File moved
s
rc/s
hell/tips.js
→
shell/tips.js
View file @
46a5b4d
File moved
tag.js
deleted
100644 → 0
View file @
3338e5b
const
fs
=
require
(
'fs'
)
const
{
join
}
=
require
(
'path'
)
const
version
=
`V
${
new
Date
().
getMonth
()
+
1
}
-
${
new
Date
().
getDate
()}
${
new
Date
().
getHours
()}
.
${
new
Date
().
getMinutes
()}
.
${
new
Date
().
getSeconds
()}
`
const
content
=
`
const version = '
${
version
}
'
export default version
`
fs
.
writeFile
(
join
(
__dirname
,
'./src/version.js'
),
content
,
{
encoding
:
'utf-8'
},
()
=>
{
console
.
log
(
'创建版本成功,当前版本是'
+
version
)
})
tips.js
deleted
100644 → 0
View file @
3338e5b
/* eslint-disable no-console */
console
.
log
(
'\x1B[31m'
,
'eslint 不再输出报表txt文件'
)
console
.
log
(
'\x1B[34m'
,
'\n\n 如需获取报表文件请运行'
)
console
.
log
(
'\x1B[32m'
,
'\n npm run lint-rep'
)
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment