Skip to content

Commit

Permalink
Remove <<<
Browse files Browse the repository at this point in the history
  • Loading branch information
tmdh committed Aug 1, 2020
1 parent 3323cd8 commit 586962d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
12 changes: 0 additions & 12 deletions app/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,30 +290,18 @@ function newProject () {
properties: ["openDirectory", "createDirectory"]
}, (folderPath) => {
if(folderPath !== undefined) {
<<<<<<< Updated upstream
extract('app/zip/laravel.zip', {dir: folderPath[0]}, (err) => {
=======
extract(filePath('laravel-5.8.zip'), {dir: folderPath[0]}, (err) => {
>>>>>>> Stashed changes
if(err !== undefined) {
ae(err.message)
} else {
changeStatusToWait("Extracted Laravel 5.8")
var vendorZips = []
<<<<<<< Updated upstream
fs.readdirSync("app/zip/vendors/").forEach(zipFile => {
=======
fs.readdirSync(filePath("vendors-5.8/")).forEach(zipFile => {
>>>>>>> Stashed changes
vendorZips.push(zipFile)
})
var extractCount = 0
for(var i = 0; i < vendorZips.length; i++) {
<<<<<<< Updated upstream
extract('app/zip/vendors/' + vendorZips[i], {dir: folderPath[0] + '/vendor'}, (err) => {
=======
extract(filePath('vendors-5.8/' + vendorZips[i]), {dir: folderPath[0] + '/vendor'}, (err) => {
>>>>>>> Stashed changes
if(err !== undefined) {
changeStatus(err)
ae(err)
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ abbrev@1:
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==

adm-zip@^0.4.13:
version "0.4.16"
resolved "https://registry.yarnpkg.com/adm-zip/-/adm-zip-0.4.16.tgz#cf4c508fdffab02c269cbc7f471a875f05570365"
integrity sha512-TFi4HBKSGfIKsK5YCkKaaFG2m4PEDyViZmEwof3MTIgzimHLto6muaHVpbrljdIvIrFZzEq/p4nafOeLcYegrg==

aggregate-error@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-1.0.0.tgz#888344dad0220a72e3af50906117f48771925fac"
Expand Down

0 comments on commit 586962d

Please sign in to comment.