Fixed Line termination bug in post-deploy hook