Skip to content

Commit

Permalink
[js] Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pujagani committed Apr 1, 2024
1 parent fc0a78f commit fa72e55
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion javascript/node/selenium-webdriver/bidi/networkTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class Header {
constructor(name, value) {
this._name = name
if (!(value instanceof BytesValue)) {
throw new Error(`Value must be an instance of BytesValue. Received: '${value}'`);
throw new Error(`Value must be an instance of BytesValue. Received: '${value}'`)
}
this._value = value
}
Expand Down
2 changes: 1 addition & 1 deletion javascript/node/selenium-webdriver/bidi/realmInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class RealmInfo {
}

if (realmType === RealmType.WINDOW) {
return new WindowRealmInfo(realmId, origin, realmType, browsingContext, sandbox);
return new WindowRealmInfo(realmId, origin, realmType, browsingContext, sandbox)
}

return new RealmInfo(realmId, origin, realmType)
Expand Down
2 changes: 1 addition & 1 deletion javascript/node/selenium-webdriver/bidi/scriptTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

const { RemoteValue } = require("./protocolValue")
const { RemoteValue } = require('./protocolValue')

/**
* Represents a message received through a channel.
Expand Down

0 comments on commit fa72e55

Please sign in to comment.