mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-26 13:19:49 +07:00
Fix linter error and run on PRs (#1447)
Fixes a linter error in the `identity` API sample, and updates the linter to run on all PRs going forward.
This commit is contained in:
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -1,5 +1,5 @@
|
|||||||
name: CI
|
name: CI
|
||||||
on: push
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
chrome.action.onClicked.addListener(() => {
|
chrome.action.onClicked.addListener(() => {
|
||||||
chrome.tabs.create({
|
chrome.tabs.create({
|
||||||
active: true,
|
active: true,
|
||||||
url: "index.html"
|
url: 'index.html'
|
||||||
})
|
});
|
||||||
})
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user