mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Use invariant instead of fbjs/lib/invariant
Summary: This is one more step to remove `fbjs` from `react-native-github`. This changes both the internal and external code to use `invariant` from zertosh instead of the copy in fbjs. Reviewed By: yungsters Differential Revision: D13195941 fbshipit-source-id: 73564ca1715110e7da9c7ef56dc57374d61377e0
This commit is contained in:
committed by
Facebook Github Bot
parent
cb6eb03776
commit
4148976a83
@@ -11,7 +11,7 @@
|
||||
'use strict';
|
||||
|
||||
const infoLog = require('infoLog');
|
||||
const invariant = require('fbjs/lib/invariant');
|
||||
const invariant = require('invariant');
|
||||
|
||||
type SimpleTask = {
|
||||
name: string,
|
||||
|
||||
Reference in New Issue
Block a user