Skip to content

Commit e4f3bee

Browse files
committed
minor
1 parent 94c31a1 commit e4f3bee

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

modules/deploy/lib/sshConnect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = function*(host) {
2828

2929

3030
client.runInBuild = function(cmd, options) {
31-
return sshExec(client, `cd ${config.deploy.buildPath}; ${cmd}`, options);
31+
return sshExec(client, `cd ${config.deploy.buildPath}; NODE_LANG=${config.lang} ${cmd}`, options);
3232
};
3333

3434
client.run = function(cmd, options) {

modules/deploy/tasks/update.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = function() {
2525
try {
2626
// make sure tests pass unless --no-test
2727
if (args.test !== false) {
28-
yield* client.runInBuild(`NODE_LANG=ru npm test`);
28+
yield* client.runInBuild(`npm test`);
2929
}
3030

3131
yield* client.runInTarget(`git reset --hard`);

0 commit comments

Comments
 (0)