File tree Expand file tree Collapse file tree 3 files changed +5
-22
lines changed
src/__tests__/__snapshots__ Expand file tree Collapse file tree 3 files changed +5
-22
lines changed Original file line number Diff line number Diff line change 33const updateNotifier = require ( "update-notifier" )
44const pkg = require ( "./package.json" )
55
6- updateNotifier ( { pkg } ) . notify ( { isGlobal : false } )
6+ const isCi = require ( "is-ci" )
7+
8+ if ( ! isCi ) {
9+ updateNotifier ( { pkg } ) . notify ( { isGlobal : false } )
10+ }
711
812require ( "./dist/index.js" )
Original file line number Diff line number Diff line change @@ -15,13 +15,6 @@ exports[`patch-package complains without windows error when the patch can't be a
1515 https://github.com/ds300/patch-package/issues
1616
1717
18-
19- βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
20- β [33m patch-package update check failed [39m β
21- β Try running with [36msudo[39m or get access β
22- β to the local update config store via β
23- β[36m sudo chown -R $USER:$(id -gn $USER) /Users/dshe/.config [39mβ
24- βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2518error Command failed with exit code 1.
2619"
2720` ;
Original file line number Diff line number Diff line change @@ -23,13 +23,6 @@ Warning: patch-package detected a patch file version mismatch
2323
2424 to update the version in the patch file name and make this warning go away.
2525
26-
27- βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
28- β [33m patch-package update check failed [39m β
29- β Try running with [36msudo[39m or get access β
30- β to the local update config store via β
31- β[36m sudo chown -R $USER:$(id -gn $USER) /Users/dshe/.config [39mβ
32- βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
3326"
3427` ;
3528
@@ -74,13 +67,6 @@ exports[`patch-package raises an error when the patch is applied 1`] = `
7467 Patch was made for version 1.1.1
7568 Meanwhile node_modules/left-pad is version 1.1.3
7669
77-
78- βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
79- β [33m patch-package update check failed [39m β
80- β Try running with [36msudo[39m or get access β
81- β to the local update config store via β
82- β[36m sudo chown -R $USER:$(id -gn $USER) /Users/dshe/.config [39mβ
83- βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
8470error Command failed with exit code 1.
8571"
8672` ;
You canβt perform that action at this time.
0 commit comments