Antonio Scandurra
52631bab98
Use fs-plus instead of fs in AtomProtocolHandler
...
This commit fixes some deprecation warnings we were observing in our
test suite, as well as when opening packages that registered protocol
handlers such as the `welcome` package.
The warnings were due to using the `fs.(l)statSyncNoException` API,
which will be deprecated from Electron 4 onwards. We had already dealt
with this by shipping https://github.com/atom/fs-plus/pull/46 , which
provided a shim on `fs-plus` to suppress the warning. However,
`AtomProtocolHandler` was still using the standard `fs` module, which
was causing the warning to be displayed whenever a package registered a
URL opener.
2019-05-20 18:03:14 +02:00
..
2019-05-20 18:03:14 +02:00
2019-04-18 16:17:53 -04:00
2019-05-10 17:33:43 +02:00
2018-01-19 09:43:55 +01:00
2018-01-19 09:43:55 +01:00
2018-03-21 18:07:16 -04:00
2018-01-19 09:43:55 +01:00
2018-02-03 18:44:15 +03:00
2018-01-19 09:43:55 +01:00
2017-02-27 16:45:57 +01:00
2018-01-19 09:43:55 +01:00
2018-06-29 15:32:29 -07:00
2018-01-05 14:53:59 -06:00
2019-05-13 17:48:11 +02:00
2019-05-13 16:05:22 +02:00
2019-05-17 04:10:17 -06:00
2019-04-05 16:57:47 -06:00
2018-01-31 16:35:15 -08:00
2019-04-18 16:15:45 -04:00
2017-05-03 14:21:23 +02:00
2018-10-18 17:48:54 +02:00
2017-05-05 09:29:29 +02:00
2019-02-01 13:14:14 -05:00
2017-09-10 15:46:39 +00:00
2019-05-16 12:54:21 +02:00
2015-09-22 10:37:09 -06:00
2016-10-07 10:40:41 +02:00
2018-01-19 09:43:55 +01:00
2018-04-02 17:10:39 -07:00
2016-09-07 16:36:00 +02:00
2019-05-06 20:27:56 +02:00
2017-05-05 09:29:30 +02:00
2017-03-07 10:54:42 +01:00
2018-01-14 15:23:42 +01:00
2018-08-02 17:24:03 -05:00
2019-02-07 10:00:47 +10:00
2018-07-24 09:53:14 -04:00
2018-07-24 12:20:30 -04:00
2018-01-19 09:43:55 +01:00
2019-05-07 12:47:10 +02:00
2018-01-19 09:43:55 +01:00
2019-02-17 17:09:58 -05:00
2019-04-17 15:12:25 -04:00
2018-01-22 16:14:25 -08:00
2017-03-28 13:35:35 +02:00
2017-05-05 09:29:28 +02:00
2017-03-14 13:50:22 +01:00
2018-01-31 16:35:15 -08:00
2018-08-10 12:33:00 -07:00
2018-02-05 11:34:49 -08:00
2015-09-22 10:37:14 -06:00
2018-08-24 14:22:27 -07:00
2019-05-13 16:45:34 +02:00
2018-01-19 09:43:55 +01:00
2017-11-16 00:10:13 -06:00
2018-03-03 19:18:35 +03:00
2018-01-19 09:43:55 +01:00
2017-05-03 14:21:24 +02:00
2019-05-18 16:36:46 +02:00
2017-05-17 21:08:11 +02:00
2018-08-24 13:53:32 -07:00
2017-04-06 16:44:44 -07:00
2018-08-28 10:24:31 -07:00
2018-02-23 14:39:57 -08:00
2018-12-21 08:41:09 -05:00
2019-05-01 09:05:46 -04:00
2017-12-22 12:13:39 +01:00
2019-04-24 13:19:25 +02:00
2019-01-16 14:08:29 -06:00
2017-06-27 16:20:33 -07:00
2017-08-22 23:10:14 -07:00
2019-05-17 04:10:17 -06:00
2019-01-15 15:52:50 -05:00
2018-01-09 12:19:33 -08:00
2019-04-23 11:53:49 -04:00
2018-01-19 09:43:55 +01:00
2019-03-26 17:01:38 +01:00
2014-07-01 10:45:13 -07:00
2017-03-10 10:37:50 -08:00
2018-06-01 15:33:28 -04:00
2019-04-26 17:01:56 +02:00
2018-07-23 15:59:22 -04:00
2015-05-21 19:56:52 +02:00
2019-05-09 20:12:07 +02:00
2017-04-04 13:45:14 -07:00
2018-01-19 11:56:25 -08:00
2017-03-10 16:48:00 +01:00
2016-10-07 10:40:41 +02:00
2019-05-14 17:17:49 -06:00
2017-05-11 19:13:06 +02:00
2019-05-06 21:35:45 +02:00
2018-07-06 11:54:18 -07:00
2019-05-14 11:28:03 -04:00
2018-01-04 17:55:53 -05:00
2019-05-17 16:40:52 -06:00
2019-04-08 16:19:25 -06:00
2018-11-19 22:48:24 -08:00
2018-10-19 17:06:01 -07:00
2018-03-03 19:18:35 +03:00
2017-10-27 20:53:03 -04:00
2017-06-26 16:34:33 +02:00
2017-11-28 16:57:06 -08:00
2016-09-26 20:52:13 +03:00
2017-08-17 14:28:30 +02:00
2019-01-10 20:22:40 -05:00
2018-09-12 16:17:30 -07:00
2018-11-14 14:21:43 -08:00
2019-05-07 13:33:18 -04:00
2016-09-09 13:45:33 -07:00
2019-04-11 17:11:07 +02:00
2019-04-16 22:39:26 -05:00
2017-10-26 15:31:43 -06:00
2018-04-26 10:28:14 -04:00
2016-08-01 17:03:06 -07:00
2017-06-07 11:23:50 -04:00
2018-08-22 10:28:20 -04:00
2019-05-06 11:25:30 -04:00