mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
fix
This commit is contained in:
parent
9b423fb793
commit
cf2c9d2174
2 changed files with 4 additions and 8 deletions
|
@ -17,16 +17,16 @@ stdin.on('end', function() {
|
|||
let packageJSON = JSON.parse(packageFile);
|
||||
|
||||
lines = [ ...new Set(lines) ];
|
||||
lines = lines.map((it) => {
|
||||
lines = lines.filter(function (el) {
|
||||
return el != "";
|
||||
}).map((it) => {
|
||||
return {
|
||||
from: it,
|
||||
to: it,
|
||||
};
|
||||
});
|
||||
|
||||
packageJSON.build.files = baseDepsJSON.concat(lines).filter(function (el) {
|
||||
return el != "";
|
||||
});
|
||||
packageJSON.build.files = baseDepsJSON.concat(lines);
|
||||
let jsonS = JSON.stringify(packageJSON, null, '\t');
|
||||
fs.writeFileSync('package.json', jsonS);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue