Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
59417d69
Commit
59417d69
authored
Jan 23, 2017
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not include readonly files in the output package
parent
a95ec855
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
app.js
src/app.js
+4
-1
No files found.
src/app.js
View file @
59417d69
...
...
@@ -47,8 +47,11 @@ var run = function () {
var
config
=
new
Config
(
storage
)
var
currentFile
// return all the files, except the temporary/readonly ones
function
packageFiles
()
{
return
files
.
list
().
map
(
function
(
path
)
{
return
{
content
:
files
.
get
(
path
)
}
})
return
files
.
list
()
.
filter
(
function
(
path
)
{
if
(
!
files
.
isReadOnly
(
path
))
{
return
path
}
})
.
map
(
function
(
path
)
{
return
{
content
:
files
.
get
(
path
)
}
})
}
function
createNonClashingName
(
path
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment