-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Output directory is created if it doesn't exists. #593
Conversation
}); | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets don't add extra linefeeds. Between consecutive blocks one blank line is enough.
LGTM 👍 Thanks @SebastianOsuna! ⚡ |
@am11 No problem. I hope it helps. Do you need me to change the line you commented? |
Yes and rebase. That would nice! :) |
-1. Just replace |
I don't think we need extra dependency (which further depends on three more dependencies) for a little chore like this. |
Well, this needs some rewriting then. Code looks horrible. For instance, we don't need to check if the folder exists or not, |
} | ||
// Check if output directory exists | ||
var dest_dir = path.dirname(path.normalize(options.dest)); | ||
var write_out = function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functions are written using camelCase like function writeOut()
and not using var
. But we don't need this function anyway.
@SebastianOsuna, we are readying for vNext, could you make those changes and rebase soon? |
Fixes done. I'm not sure if the rebase was successful, I'm not an expert with git yet, sorry. |
git pull --rebase
git rebase -i HEAD~5
# the editor will open
# change the word 'pick' to 'f', for each
# uncommented line *after* the one with text:
# "Output directory is created if it doesn't exists. "
# save and close the editor
# now forcefully rewrite the history:
git push -f That's it! :) |
f28d043
to
69aaac4
Compare
Rebase done with the commands provided. Sorry for the delay. |
@SebastianOsuna, the outcome should be one commit. But right now you have 8 commits. So lets try this:
This will clean those other commits your PR is showing. Then we will rebase in interactive mode (later, once you rebase against node-sass master). |
69aaac4
to
71a6ed5
Compare
Ok, did that but still 2 commits and both duplicated :( |
That's ok. Now you can run: |
71a6ed5
to
91f2012
Compare
Sorry, but I can't seem to make it work. Each time I try the fixup, the log doesn't change. I even tried with the squash option, but no success. |
If you are on Windows, you would probably get a notepad opened after you do
Change it to:
Ctrl+S and close notepad. Finally run Does this work? |
91f2012
to
cfa4341
Compare
Was closing vim with the wrong command, sorry. |
Output directory is created if it doesn't exists.
Perfect. Thanks for your patience and contribution! 👍 |
Pull Request for #574 .
Changes are on 'output-directory' branch.
:)