Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit e27e16d

Browse files
committed
chore(build): update and fix typings
Now `gulp typings` should work again. Also fixed formatting errors by running clang.
1 parent a4c2fd4 commit e27e16d

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ gulp.task('clang', function() {
4848
});
4949

5050
gulp.task('typings', function(done) {
51-
runSpawn(done, 'node', ['node_modules/typings/dist/typings.js', 'install']);
51+
runSpawn(done, 'node', ['node_modules/typings/dist/bin.js', 'install']);
5252
});
5353

5454
gulp.task('tsc', function(done) {

lib/driverProviders/attachSession.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export class AttachSession extends DriverProvider {
3636
*/
3737
getNewDriver(): webdriver.WebDriver {
3838
var executor = executors.createExecutor(this.config_.seleniumAddress);
39-
var newDriver =
40-
webdriver.WebDriver.attachToSession(executor, this.config_.seleniumSessionId);
39+
var newDriver = webdriver.WebDriver.attachToSession(
40+
executor, this.config_.seleniumSessionId);
4141
this.drivers_.push(newDriver);
4242
return newDriver;
4343
}

lib/globals.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ declare namespace webdriver {
77
static attachToSession: Function;
88
}
99

10-
class Session { getId: Function; }
10+
class Session {
11+
getId: Function;
12+
}
1113
}
1214

1315
declare class executors { static createExecutor: Function; }

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"rimraf": "~2.5.0",
4141
"run-sequence": "^1.1.5",
4242
"typescript": "1.8.2",
43-
"typings": "^0.7.12"
43+
"typings": "^0.8.1"
4444
},
4545
"repository": {
4646
"type": "git",

0 commit comments

Comments
 (0)